Documentation
¶
Index ¶
- Variables
- func Debug(args ...interface{})
- func Debugf(format string, args ...interface{})
- func Error(args ...interface{})
- func Errorf(format string, args ...interface{})
- func Info(args ...interface{})
- func Infof(format string, args ...interface{})
- func SetJSONFormatter()
- func SetLevel(level string) error
- func SetOutput(output string) error
- func SetTextFormatter()
- func Warn(args ...interface{})
- func Warnf(format string, args ...interface{})
- type Logger
Constants ¶
This section is empty.
Variables ¶
View Source
var FuncField bool = true
Output function name to the log.
View Source
var SourceField bool = true
Output source file information "filename:line number" to the log.
Functions ¶
func SetJSONFormatter ¶
func SetJSONFormatter()
func SetTextFormatter ¶
func SetTextFormatter()
Types ¶
Click to show internal directories.
Click to hide internal directories.