Documentation
¶
Index ¶
- func Debugf(format string, args ...interface{})
- func Errorf(format string, args ...interface{}) error
- func Infof(format string, args ...interface{})
- func SetLogLevel(level LogLevel)
- func SetLogger(l Logger)
- func Trace(format string, args ...interface{})
- func TraceFunc(logFunc func() string)
- func Tracef(format string, args ...interface{})
- func Warnf(format string, args ...interface{}) error
- type LogLevel
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetLogLevel ¶ added in v0.1.34
func SetLogLevel(level LogLevel)
SetLogLevel sets the logging level
Types ¶
type LogLevel ¶ added in v0.1.34
type LogLevel int
LogLevel represents the logging level
func ParseLogLevel ¶ added in v0.1.34
ParseLogLevel converts a string to a LogLevel
type Logger ¶
type Logger struct {
Tracef func(format string, args ...interface{})
Trace func(format string)
Infof func(format string, args ...interface{})
Debugf func(format string, args ...interface{})
Warnf func(format string, args ...interface{}) error
Errorf func(format string, args ...interface{}) error
TraceFunc func(func() string)
}
Click to show internal directories.
Click to hide internal directories.