//
pkg.gl
Category
github.com/herry2038/go-mysqlstack
xlog
package
0.0.9
Repository:
https://github.com/herry2038/go-mysqlstack.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
6
Dependents
0
Files
162 SLOC
#
Functions
GetLog
GetLog returns Log.
Level
Level used to set the log level.
Name
Name used to set the name.
NewLog
NewLog creates the new log.
NewStdLog
NewStdLog creates a new std log.
NewSysLog
No description provided by the author
NewXLog
NewXLog creates a new xlog.
#
Constants
D_LOG_FLAGS
D_LOG_FLAGS is the default log flags.
DEBUG
DEBUG enum.
ERROR
ERROR enum.
FATAL
FATAL enum.
INFO
INFO enum.
PANIC
PANIC enum.
WARNING
WARNING enum.
#
Variables
LevelNames
LevelNames represents the string name of all levels.
#
Structs
Log
Log struct.
Options
Options used for the options of the xlog.
#
Type aliases
LogLevel
LogLevel used for log level.
Option
Option func.