Documentation ¶
Index ¶
- Constants
- func Debug(template string, args ...interface{})
- func Error(template string, args ...interface{})
- func Fatal(template string, args ...interface{})
- func Info(template string, args ...interface{})
- func Panic(template string, args ...interface{})
- func SetByName(name Name, level Level, timeformat string) func() error
- func SetLogger(l Logger)
- func Warn(template string, args ...interface{})
- type Level
- type Logger
- type Name
Constants ¶
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Logger ¶
type Logger interface { SetLevel(string) Fatal(template string, args ...interface{}) Error(template string, args ...interface{}) Panic(template string, args ...interface{}) Warn(template string, args ...interface{}) Info(template string, args ...interface{}) Debug(template string, args ...interface{}) }
Click to show internal directories.
Click to hide internal directories.