Documentation ¶
Overview ¶
Package logger provides the interface to logging facilities.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Level ¶
type Level int8
Level represents the severity level for a log entry.
type Logger ¶
type Logger interface { PrintDebug(message string, properties map[string]string) PrintError(err error, properties map[string]string) PrintFatal(err error, properties map[string]string) PrintInfo(message string, properties map[string]string) PrintWarning(message string, properties map[string]string) Write(message []byte) (n int, err error) }
Logger is the interface that wraps the basic logging methods.
Click to show internal directories.
Click to hide internal directories.