//
pkg.gl
Category
github.com/sapcc/go-bits
logg
package
0.0.0-20250307173044-634e8ce82c05
Repository:
https://github.com/sapcc/go-bits.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
4
Dependents
102
Files
44 SLOC
#
Functions
Debug
Debug logs a debug message if debug logging is enabled.
Error
Error logs a non-fatal error.
Fatal
Fatal logs a fatal error and terminates the program.
Info
Info logs an informational message.
Other
Other logs a message with a custom log level.
SetLogger
SetLogger allows to define custom logger.
#
Variables
ShowDebug
ShowDebug can be set to true to enable the display of debug logs.