Help us shape the future of Go! Take the 2026 Go Developer Survey

log

package
v3.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2025 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package log formats and prints log messages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Audit

func Audit(v ...interface{})

Audit outputs messages for security audit.

func Dbg

func Dbg(v ...interface{})

Dbg outputs debug message.

func Err

func Err(v ...interface{})

Err outputs error message.

func Errf

func Errf(format string, v ...interface{})

Errf outputs formatted log.

func Fatal

func Fatal(v ...interface{})

Fatal prints fatal message and exits.

func Fatalf

func Fatalf(err error)

Fatalf prints an error with a stack trace.

func Msg

func Msg(v ...interface{})

Msg outputs message.

func SetDebug

func SetDebug(enable bool)

SetDebug enables debug logs.

func Warn

func Warn(v ...interface{})

Warn outputs a warning message.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL