Documentation ¶
Index ¶
- func Debug(msg string)
- func Debugf(msg string, v ...interface{})
- func Error(msg string)
- func Errorf(msg string, v ...interface{})
- func Fatal(msg string)
- func Fatalf(msg string, v ...interface{})
- func Info(msg string)
- func Infof(msg string, v ...interface{})
- func SetLevel(level Level)
- func Warn(msg string)
- func Warnf(msg string, v ...interface{})
- type Entry
- type ILog
- type Level
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Entry ¶
type Entry struct { ID uint64 `json:"id"` Time time.Time `json:"time"` Level Level `json:"level"` Message string `json:"message"` }
Entry represents a single log entry.
Click to show internal directories.
Click to hide internal directories.