Documentation ¶
Overview ¶
Package logger provides functions for configuring global logger.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GlobalOpts ¶
type GlobalOpts struct { LogDebug bool // enable debug level logging LogDevMode bool // enable development mode logging: text instead of JSON, DPanic panics instead of logging errors LogName string // global logger name }
GlobalOpts contains logger options.
Click to show internal directories.
Click to hide internal directories.