package
0.0.0-20240416014235-781089c0957e
Repository: https://github.com/wayneshenhh/servermodule.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Debug console debug log.
Debug console debug log.
Debugf equal to fmt.Printf but auto given log struct.
Debug console debug log.
Debugf equal to fmt.Printf but auto given log struct.
Debug console debug log.
Debugf equal to fmt.Printf but auto given log struct.
Debug console debug log.
Debugf equal to fmt.Printf but auto given log struct.
DebugCallStack console debug log & stack-trace.
Debugf equal to fmt.Printf but auto given log struct.
Error console when err isn't null.
Errorf equal to fmt.Printf but auto given log struct.
Fatal console & panic.
Fatalf equal to fmt.Printf but auto given log struct.
Info console info.
InfoCallStack console info & stack-trace.
Infof equal to fmt.Printf but auto given log struct.
Init logger by level & formatter & service-code
default is info-level & json-format while parameter invalid.
OpenFile output to file.
SetFatalCallback config callback task, which run before fatal.panic.
Warn console warning.
WarnCallStack console warning & stack-trace.
Warnf equal to fmt.Printf but auto given log struct.
# Interfaces
Logger interface.