Documentation
¶
Overview ¶
Package static provides a simple static logger implementation for easy migration of existing pre-v2 code.
The package is usually imported aliased as "log" to be compatible with the v1 approach.
The static logger instance needs to be initialized during startup of the application using SetLogger.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Error ¶
Error logs an error message with optional key-value pairs. This uses the static logger instance.
func Info ¶
func Info(msg string, keysAndValues ...interface{})
Info logs an informational message with optional key-value pairs. This uses the static logger instance.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.