Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CorrelatedLog ¶
CorrelatedLog provides logging with a level and correlation id for each message
func GetLogger ¶
func GetLogger() CorrelatedLog
GetLogger returns access to the CorrelatedLog function for the initialised logging
func NewFileLogger ¶
func NewFileLogger(fname string, lvl LogLevel, prefix string) (CorrelatedLog, error)
NewFileLogger creates a new log file at te specified location, which will contain entries up to the specified LogLevel
Click to show internal directories.
Click to hide internal directories.