package
0.0.0-20200911154147-0c35135c5ac8
Repository: https://github.com/suboat/go-contrib.git
Documentation: pkg.go.dev
# Functions
Debug debug.
Debugf debug.
Debugln debug.
Error error.
Errorf error.
Errorln error.
Fatal fatal.
Fatalf fatal.
Fatalln fatal.
Info info.
Infof info.
Infoln info.
NewLog new.
NewLogFile new log file.
Panic panic.
Panicf panic.
Panicln panic.
Print print.
Printf print.
Println print.
PubErrorConvert 错误转换.
SetFlags log normal.
SetLevel log normal.
Warn warn.
Warnf warn.
Warnln warn.
# Constants
DebugLevel debug level.
ErrorLevel error level.
FatalLevel fatal level.
InfoLevel info level.
Ldate log date.
Llongfile long file.
Lmicroseconds log microseconds.
Lshortfile short file.
LstdFlags flags.
Ltime log time.
LUTC UTC.
PanicLevel panic level.
WarnLevel warn level.
# Variables
No description provided by the author
true: 当前在docker环境.
默认日志.
默认输出格式.
!nil: 所有日志也会同时输出到该目录.
判断日志级别.
.
.
.
易于识别的后缀.
.