Documentation ¶
Index ¶
- Variables
- func Debug(args ...interface{})
- func Debugf(format string, args ...interface{})
- func Default()
- func Error(args ...interface{})
- func Errorf(format string, args ...interface{})
- func Fatal(args ...interface{})
- func Fatalf(format string, args ...interface{})
- func Info(args ...interface{})
- func Infof(format string, args ...interface{})
- func Logger() unilogger.LeveledLogger
- func New(out io.Writer, prefix string, flags int)
- func Panic(args ...interface{})
- func Panicf(format string, args ...interface{})
- func SetLevel(level unilogger.Level) error
- func SetLogger(log unilogger.LeveledLogger)
- func Warning(args ...interface{})
- func Warningf(format string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // LDEBUG is the logger DEBUG level LDEBUG = unilogger.DEBUG // LINFO is the logger INFO level LINFO = unilogger.INFO // LWARNING is the logger WARNING level LWARNING = unilogger.WARNING // LERROR is the logger ERROR level LERROR = unilogger.ERROR // LCRITICAL is the logger CRITICAL level LCRITICAL = unilogger.CRITICAL // LPRINT is the logger PRINT level LPRINT = unilogger.PRINT // LUNKNOWN is the unspecified logger level LUNKNOWN = unilogger.UNKNOWN )
Functions ¶
func SetLevel ¶
func SetLevel(level unilogger.Level) error
SetLevel sets the level if possible for the logger file
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.