Versions in this module Expand all Collapse all v1 v1.1.0 May 22, 2020 Changes in this version + const Debug + const Error + const Fatal + const Info + var Default = &Logger + func Debugf(format string, a ...interface{}) + func Errorf(format string, a ...interface{}) error + func Fatalf(format string, a ...interface{}) + func Infof(format string, a ...interface{}) + func Init() + func Log(level Level, skip int, format string, a ...interface{}) + func V(level Level) bool + type Level int + type Logger struct + Level Level + LogCaller bool + LogLevel bool + LogTime bool + func New(w io.WriteCloser) *Logger + func NewFile(path string) (*Logger, error) + func NewSyslog(priority syslog.Priority, tag string) (*Logger, error) + func (l *Logger) Close() + func (l *Logger) Debugf(format string, a ...interface{}) + func (l *Logger) Errorf(format string, a ...interface{}) error + func (l *Logger) Fatalf(format string, a ...interface{}) + func (l *Logger) Infof(format string, a ...interface{}) + func (l *Logger) Log(level Level, skip int, format string, a ...interface{}) error + func (l *Logger) Reopen() error + func (l *Logger) V(level Level) bool