package
1.2.7
Repository: https://github.com/xinliangnote/go-gin-api.git
Documentation: pkg.go.dev

# Functions

NewJSONLogger return a json-encoder zap logger,.
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.
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;.

# Interfaces

Meta key-value.

# Type aliases

Option custom setup config.