package
0.0.0-20210126135147-11273d6070ad
Repository: https://github.com/fidelfly/gox.git
Documentation: pkg.go.dev
# Functions
export AddHook adds a hook to the standard logger hooks.
export.
export.
export.
export.
export.
export.
export.
export GetLevel returns the standard logger level.
export.
export.
No description provided by the author
No description provided by the author
No description provided by the author
export.
export.
ParseLevel takes a string level and returns the Logrus log level constant.
No description provided by the author
No description provided by the author
SetFormatter sets the standard logger Formatter.
export SetLevel sets the standard logger level.
export.
SetOutput sets the standard logger output.
No description provided by the author
No description provided by the author
export.
export.
export WithError creates an entry from the standard logger and adds an error to it, using the value defined in ErrorKey as key.
export WithField creates an entry from the standard logger and adds a field to it.
export WithFields creates an entry from the standard logger and adds multiple fields to it.
# Constants
DebugLevel level.
No description provided by the author
ErrorLevel level.
FatalLevel level.
InfoLevel level.
PanicLevel level, highest level of severity.
WarnLevel level.
# Structs
No description provided by the author
No description provided by the author
PlainTextFormatter formats logs into text.