Documentation
¶
Index ¶
- Constants
- func Crit(msg string, ctx ...interface{})
- func Debug(msg string, ctx ...interface{})
- func EnableBaseAddress()
- func Error(msg string, ctx ...interface{})
- func GetHandler() l.Handler
- func Info(msg string, ctx ...interface{})
- func NewBaseAddressLogger(baseAddr string, ctx ...interface{}) l.Logger
- func Trace(msg string, ctx ...interface{})
- func Warn(msg string, ctx ...interface{})
- type Logger
Constants ¶
View Source
const ( // CallDepth is set to 1 in order to influence to reported line number of // the log message with 1 skipped stack frame of calling l.Output() CallDepth = 1 )
Variables ¶
This section is empty.
Functions ¶
func Crit ¶
func Crit(msg string, ctx ...interface{})
Crit is a convenient alias for log.Crit with stats
func Debug ¶
func Debug(msg string, ctx ...interface{})
Debug is a convenient alias for log.Debug with stats
func EnableBaseAddress ¶
func EnableBaseAddress()
EnableBaseAddress enables the logging of the base address it is used for tests
func Error ¶
func Error(msg string, ctx ...interface{})
Error is a convenient alias for log.Error with stats
func Info ¶
func Info(msg string, ctx ...interface{})
Info is a convenient alias for log.Info with stats
func NewBaseAddressLogger ¶
NewBaseAddressLogger creates a new logger with a `base` prefix
Types ¶
Click to show internal directories.
Click to hide internal directories.