Categorygithub.com/XiBao/logger
modulepackage
2.0.4+incompatible
Repository: https://github.com/xibao/logger.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

No description provided by the author
Ctx returns the Logger associated with the ctx.
Debug starts a new message with debug level.
Err starts a new message with error level with err as a field if not nil or with info level if err is nil.
Error starts a new message with error level.
Fatal starts a new message with fatal level.
No description provided by the author
Hook returns a logger with the h Hook.
Info starts a new message with info level.
Level creates a child logger with the minimum accepted level set to level.
Log starts a new message with no level.
Output duplicates the global logger and sets w as its output.
Panic starts a new message with panic level.
Print sends a log event using debug level and no extra field.
Printf sends a log event using debug level and no extra field.
Sample returns a logger with the s sampler.
No description provided by the author
Trace starts a new message with trace level.
Warn starts a new message with warn level.
With creates a child logger with the field added to its context.
No description provided by the author
WithLevel starts a new message with level.

# Variables

No description provided by the author
No description provided by the author

# Structs

No description provided by the author