Documentation ¶
Index ¶
- type LogLevel
- type Logger
- func NewFileLogger(name string, file string) (logger Logger, out *os.File, err error)
- func NewFileLoggerWithLevel(name string, file string, level LogLevel) (logger Logger, out *os.File, err error)
- func NewSimpleLogger(name string, out io.Writer) Logger
- func NewSimpleLoggerWithLevel(name string, out io.Writer, level LogLevel) Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface { Errorf(string, ...interface{}) Warningf(string, ...interface{}) Infof(string, ...interface{}) Debugf(string, ...interface{}) }
func NewFileLogger ¶
func NewFileLoggerWithLevel ¶
Click to show internal directories.
Click to hide internal directories.