Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Settings ¶
type Settings struct { EnableConsole bool `default:"true"` ConsoleJson bool `default:"false"` ConsoleLevel string `default:"ERROR" validate:"oneof:{TRACE, DEBUG, INFO, WARN, ERROR}"` EnableFile bool `default:"true"` FileJson bool `default:"false"` FileLevel string `default:"ERROR" validate:"oneof:{TRACE, DEBUG, INFO, WARN, ERROR}"` FileLocation string `default:"loadtest.log"` EnableColor bool `default:"false"` }
Settings holds information used to initialize a new logger.
Click to show internal directories.
Click to hide internal directories.