Documentation ¶
Index ¶
Constants ¶
View Source
const FieldKeyComponent = "component"
Variables ¶
This section is empty.
Functions ¶
func GetLoggerForComponent ¶
GetLoggerForComponent returns the logger instance with component field set
func SetLogger ¶
SetLogger sets the logger instance This is useful in testing as the logger can be overridden with a test logger
func SetLoggerConfig ¶
Types ¶
type Config ¶
type Config mate.LoggerConfig
Click to show internal directories.
Click to hide internal directories.