Documentation ¶
Index ¶
Constants ¶
View Source
const ( // LevelDefault is a default logger level. LevelDefault = "info" DestinationDefault = logger.DestinationStdout AddressDefault = "localhost:3100" BatchEntriesNumberDefault = 100 BatchWaitDefault = time.Second )
Variables ¶
This section is empty.
Functions ¶
func Destination ¶ added in v0.38.0
Destination returns the value of "destination" config parameter from "logger" section.
Returns DestinationDefault if the value is not a non-empty string.
func Level ¶
Level returns the value of "level" config parameter from "logger" section.
Returns LevelDefault if the value is not a non-empty string.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.