Documentation ¶
Index ¶
- Constants
- 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 Notice(v ...interface{})
- func Noticef(format string, v ...interface{})
- func Panic(v ...interface{})
- func Panicf(format string, v ...interface{})
- func Warn(v ...interface{})
- func Warnf(format string, v ...interface{})
- type Logger
- func (log *Logger) Debug(format string, v ...interface{})
- func (log *Logger) Error(format string, v ...interface{})
- func (log *Logger) Fatal(format string, v ...interface{})
- func (log *Logger) GetCallDepth() int
- func (log *Logger) Info(format string, v ...interface{})
- func (log *Logger) Notice(format string, v ...interface{})
- func (log *Logger) Panic(format string, v ...interface{})
- func (log *Logger) SetCalldepth(depth int)
- func (log *Logger) SetFlags(flag int)
- func (log *Logger) SetOutput(w Writer, prefix string)
- func (log *Logger) SetPrefix(prefix string)
- func (log *Logger) Warn(format string, v ...interface{})
- type Writer
Constants ¶
View Source
const ( LogDate = 1 << iota LogTime LogMicroSeconds LogLongFile LogShortFile LogUTC LogModule LogLevel StdFlags = LogDate | LogMicroSeconds | LogShortFile | LogLevel )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.