Documentation
¶
Index ¶
- Constants
- func FmtBytes(b []byte) string
- func FmtBytesB(b []byte) string
- func FmtBytesF(b []byte) (key, val string)
- func FmtHex(msg string, b []byte) func() string
- func FmtHexColor(msg string, b []byte) func() string
- func L() *zerolog.Logger
- func SetupGlobalLogger(level zerolog.Level, outputFormat OutputFormat)
- type OutputFormat
Constants ¶
View Source
const ( LogLevel = zerolog.DebugLevel LogOutput = ConsoleOutput LogBytes = false )
Variables ¶
This section is empty.
Functions ¶
func FmtHexColor ¶
func SetupGlobalLogger ¶
func SetupGlobalLogger(level zerolog.Level, outputFormat OutputFormat)
Types ¶
type OutputFormat ¶
type OutputFormat string
const ( ConsoleOutput OutputFormat = "console" Default OutputFormat = "Stderr" )
Click to show internal directories.
Click to hide internal directories.