Documentation
¶
Overview ¶
Package log implements a simple logging package.
Index ¶
- func Debug(v ...interface{})
- func Debugf(format string, v ...interface{})
- func Error(v ...interface{})
- func Errorf(format string, v ...interface{})
- func Fatal(v ...interface{})
- func Fatalf(format string, v ...interface{})
- func Info(v ...interface{})
- func Infof(format string, v ...interface{})
- func New(lev models.Level, listener io.Writer, layout string) *logger.Logger
- func Panic(v ...interface{})
- func Panicf(format string, v ...interface{})
- func Printf(format string, v ...interface{})
- func Println(v ...interface{})
- func SetLevelDebug()
- func SetLevelInfo()
- func SetOutput(listener io.Writer)
- func Trace(v ...interface{})
- func Tracef(format string, v ...interface{})
- func Warn(v ...interface{})
- func Warnf(format string, v ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Directories
¶
Path | Synopsis |
---|---|
Package internal hold the code that is not supposed to be accessible outside this package
|
Package internal hold the code that is not supposed to be accessible outside this package |
pkg/layout
Package layout defines various layouts to use when formatting a log message
|
Package layout defines various layouts to use when formatting a log message |
pkg/logger
Package logger provides the logging object
|
Package logger provides the logging object |
Click to show internal directories.
Click to hide internal directories.