Documentation
¶
Index ¶
- Constants
- Variables
- func Debug(args ...any)
- func Debugf(format string, args ...any)
- func Error(args ...any)
- func Errorf(format string, args ...any)
- func Info(args ...any)
- func Infof(format string, args ...any)
- func InitProfile()
- func Warn(args ...any)
- func Warnf(format string, args ...any)
- type Log
- type LogWriter
Constants ¶
View Source
const ( DebugLevel = "debug" // default level InfoLevel = "info" WarnLevel = "warn" ErrorLevel = "error" InConsole = "console" InFile = "file" InAll = "all" )
Variables ¶
View Source
var FileRotatelogs = new(fileRotatelogs)
View Source
var Zap = new(_zap)
Functions ¶
func InitProfile ¶ added in v1.2.7
func InitProfile()
InitProfile init log conf replace default if you only use log print, not call this func
Types ¶
Click to show internal directories.
Click to hide internal directories.