Documentation ¶
Index ¶
- Constants
- func CLOSE()
- func DEBUG(format string, v ...interface{})
- func Debug(format string, v ...interface{})
- func ERROR(format string, v ...interface{})
- func Error(format string, v ...interface{})
- func FATAL(format string, v ...interface{})
- func Fatal(format string, v ...interface{})
- func GetLevel() string
- func INFO(format string, v ...interface{})
- func Info(format string, v ...interface{})
- func OPEN(args *Args)
- func PANIC(format string, v ...interface{})
- func Panic(format string, v ...interface{})
- func ParseLevel(level string)
- func SetLevel(level Level)
- func SetOutput(w io.Writer)
- func WARN(format string, v ...interface{})
- func Warn(format string, v ...interface{})
- type Args
- type Glogger
- type Level
- type Logger
- func (l *Logger) Debug(format string, v ...interface{})
- func (l *Logger) Error(format string, v ...interface{})
- func (l *Logger) Fatal(format string, v ...interface{})
- func (l *Logger) GetLevel() string
- func (l *Logger) Info(format string, v ...interface{})
- func (l *Logger) Panic(format string, v ...interface{})
- func (l *Logger) ParseLevel(level string)
- func (l *Logger) SetLevel(level Level)
- func (l *Logger) Warn(format string, v ...interface{})
Constants ¶
View Source
const DEFAULT_MAXLOGSIZE int64 = 20971520
Variables ¶
This section is empty.
Functions ¶
func ParseLevel ¶
func ParseLevel(level string)
Types ¶
type Logger ¶
func (*Logger) ParseLevel ¶
Click to show internal directories.
Click to hide internal directories.