package
1.4.5
Repository: https://github.com/raylin666/go-utils.git
Documentation: pkg.go.dev

# Functions

NewJSONLogger return a json-encoder zap logger,.
NewMeta create meta.
WithDebugLevel only greater than 'level' will output.
WithDisableConsole WithEnableConsole write log to os.Stdout or os.Stderr.
WithErrorLevel only greater than 'level' will output.
WithField add some field(s) to log.
WithInfoLevel only greater than 'level' will output.
WithLevelEncoder 设置使用的等级编码器.
WithPathFile write log to some file.
WithPathFileRotation write log to some file with rotation.
WithTimeLayout custom time format.
WithWarnLevel only greater than 'level' will output.
WrapMeta wrap meta to zap fields.

# Constants

No description provided by the author
No description provided by the author
DefaultLevel the default log level.
DefaultTimeLayout the default time layout;.
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

# Structs

No description provided by the author

# Interfaces

Meta key-value.

# Type aliases

Option custom setup config.