Versions in this module Expand all Collapse all v0 v0.2.0 Apr 8, 2023 Changes in this version type Options + Skip int v0.1.0 Jun 17, 2021 Changes in this version + func Debug(args ...interface{}) + func Debugf(template string, args ...interface{}) + func Error(args ...interface{}) + func Errorf(template string, args ...interface{}) + func Fatal(args ...interface{}) + func Fatalf(template string, args ...interface{}) + func Info(args ...interface{}) + func Infof(template string, args ...interface{}) + func Panic(args ...interface{}) + func Panicf(template string, args ...interface{}) + func Printf(template string, args ...interface{}) + func Println(args ...interface{}) + func SetOptions(opt Options) + func Warn(args ...interface{}) + func Warnf(template string, args ...interface{}) + type Level int8 + const DPanicLevel + const DebugLevel + const ErrorLevel + const FatalLevel + const InfoLevel + const PanicLevel + const WarnLevel + type Logger struct + func New(opt Options) Logger + func StandardLogger() Logger + func With(args ...interface{}) Logger + func (l Logger) Debug(args ...interface{}) + func (l Logger) Debugf(template string, args ...interface{}) + func (l Logger) Error(args ...interface{}) + func (l Logger) Errorf(template string, args ...interface{}) + func (l Logger) Fatal(args ...interface{}) + func (l Logger) Fatalf(template string, args ...interface{}) + func (l Logger) Info(args ...interface{}) + func (l Logger) Infof(template string, args ...interface{}) + func (l Logger) Panic(args ...interface{}) + func (l Logger) Panicf(template string, args ...interface{}) + func (l Logger) Printf(template string, args ...interface{}) + func (l Logger) Println(args ...interface{}) + func (l Logger) Warn(args ...interface{}) + func (l Logger) Warnf(template string, args ...interface{}) + func (l Logger) With(args ...interface{}) Logger + type Options struct + ConsoleMode bool + Filename string + Level Level + MaxAge int + MaxBackups int + MaxSize int + Stdout bool