Versions in this module Expand all Collapse all v0 v0.0.2 Sep 9, 2024 Changes in this version + type Fields map[string]interface + type Interface interface + Level func() Level + Log func(level Level, args ...interface{}) + Logf func(level Level, format string, args ...interface{}) + SetLevel func(Level) + SetLoggerOutputFileConfig func(conf LoggerOutputFileConf) + SetLoggerOutputType func(outputType LoggerOutputType) + type Level uint32 + const DebugLevel + const ErrorLevel + const FatalLevel + const InfoLevel + const PanicLevel + const TraceLevel + const WarnLevel + func String2Level(level string) Level + type LoggerOutputFileConf struct + LocalFile string + MaxFileSize float64 + RotateInterval int + type LoggerOutputType string + const LoggerOutputTypeFile + const LoggerOutputTypeStdOut