Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLogger ¶
func NewLogger(opts ...LoggerOption) logger.Logger
Types ¶
type LoggerOption ¶
type LoggerOption func(opts *LoggerOptions)
func FormatLoggerOption ¶
func FormatLoggerOption(format logger.LogFormat) LoggerOption
func LevelLoggerOption ¶
func LevelLoggerOption(level logger.LogLevel) LoggerOption
func OutputLoggerOption ¶
func OutputLoggerOption(out io.Writer) LoggerOption
Click to show internal directories.
Click to hide internal directories.