package
Version:
v3.0.4
Opens a new window with list of versions in this module.
Published: Feb 5, 2025
License: AGPL-3.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package log formats and prints log messages.
func Audit(v ...interface{})
Audit outputs messages for security audit.
func Dbg(v ...interface{})
Dbg outputs debug message.
func Err(v ...interface{})
Err outputs error message.
func Errf(format string, v ...interface{})
Errf outputs formatted log.
func Fatal(v ...interface{})
Fatal prints fatal message and exits.
Fatalf prints an error with a stack trace.
func Msg(v ...interface{})
Msg outputs message.
func SetDebug(enable bool)
SetDebug enables debug logs.
func Warn(v ...interface{})
Warn outputs a warning message.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.