Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogLevel ¶
type LogLevel int
type Logger ¶
type Logger interface { Log(level LogLevel, data map[string]interface{}) Trace(data map[string]interface{}) Debug(data map[string]interface{}) Info(data map[string]interface{}) Warn(data map[string]interface{}) Err(data map[string]interface{}) SetLevel(LogLevel) Logger }
Logger is the basic interface. All implementations provided by git.sr.ht/~blallo/logz must follow it.
Click to show internal directories.
Click to hide internal directories.