package
0.0.21
Repository: https://github.com/johnathan-chan/go-tools.git
Documentation: pkg.go.dev

# Packages

Package logger Package lumberjack provides a rolling logger.

# 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
NewJSONLogger return a json-encoder zap logger,.
No description provided by the author
NewMeta create meat.
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.
WithFileP write log to some file.
WithFileRotationP write log to some file with rotation.
WithInfoLevel only greater than 'level' will output.
WithLumberjack setting the lumberjack.
WithTimeLayout custom time format.
WithWarnLevel only greater than 'level' will output.
WrapMeta wrap meta to zap fields.

# Constants

DefaultLevel the default log level.
DefaultTimeLayout the default time layout;.

# Variables

No description provided by the author

# Structs

No description provided by the author

# Interfaces

Meta key-value.

# Type aliases

Option custom setup config.