Documentation
¶
Index ¶
- Constants
- type Level
- type Log
- func (l *Log) GetLevel() Level
- func (l *Log) Log(level Level, v ...interface{}) error
- func (l *Log) Logd(level Level, delta int, v ...interface{}) error
- func (l *Log) Logdf(level Level, delta int, format string, v ...interface{}) error
- func (l *Log) Logf(level Level, format string, v ...interface{}) error
- func (l *Log) Output(level Level, depth int, s string) error
- type Logger
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Log ¶
type Log struct {
// contains filtered or unexported fields
}
Log represents the logging object
type Logger ¶
type Logger interface { GetLevel() Level Output(level Level, depth int, s string) error Log(level Level, v ...interface{}) error Logf(level Level, format string, v ...interface{}) error Logd(level Level, delta int, v ...interface{}) error Logdf(level Level, delta int, format string, v ...interface{}) error }
Logger implements a logging mechanism
Click to show internal directories.
Click to hide internal directories.