Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Level ¶
type Level uint32
Level AFAIRE.
const ( // LevelTrace AFAIRE. LevelTrace Level = 1 // LevelDebug AFAIRE. LevelDebug Level = 2 // LevelInfo AFAIRE. LevelInfo Level = 3 // LevelNotice AFAIRE. LevelNotice Level = 4 // LevelWarning AFAIRE. LevelWarning Level = 5 // LevelError AFAIRE. LevelError Level = 6 // LevelFatal AFAIRE. LevelFatal Level = 7 )
type Logger ¶
type Logger interface { ID() string SetLevel(level string) NewLogger(id string, name string) Logger Remove() Write(level Level, msg string, kv ...interface{}) Trace(msg string, kv ...interface{}) Debug(msg string, kv ...interface{}) Info(msg string, kv ...interface{}) Notice(msg string, kv ...interface{}) Warning(msg string, kv ...interface{}) Error(msg string, kv ...interface{}) Fatal(msg string, kv ...interface{}) NewStdLogger(level, prefix string, flag int) *log.Logger Close() error }
Logger AFAIRE.
Click to show internal directories.
Click to hide internal directories.