Documentation
¶
Overview ¶
Package log provides a simple interface to handle logging
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface {
// Debug logging: Every details
Debug(event string, keyvals ...interface{})
// Info logging: Core events
Info(event string, keyvals ...interface{})
// Warning logging: Anything out of the ordinary but non-life threatening
Warn(event string, keyvals ...interface{})
// Error logging: Major issue
Error(event string, keyvals ...interface{})
// Context extending interface
With(keyvals ...interface{}) Logger
}
Logger interface
Click to show internal directories.
Click to hide internal directories.