Documentation
¶
Index ¶
- type Level
- type Logger
- type Option
- func WithExitFunc(f func(exitCode int)) Option
- func WithFatalFunc(f func(level Level) bool) Option
- func WithField(key string, value interface{}) Option
- func WithLevelsFunc(f func(level Level) (levelName string)) Option
- func WithTimeFormat(tf string) Option
- func WithVerbosityFunc(f func(level Level) bool) Option
- func WithWriterFunc(f func(level Level) io.Writer) Option
- type V
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*log)
func WithExitFunc ¶
func WithFatalFunc ¶
func WithLevelsFunc ¶
func WithTimeFormat ¶
func WithVerbosityFunc ¶
Click to show internal directories.
Click to hide internal directories.