package
0.5.0
Repository: https://github.com/grepplabs/mqtt-proxy.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
InitInstance initialize logger which will be returned by GetInstance.
NewDefaultLogger returns an instance of logger with default parameters.
NewLogger returns an instance of logger.
No description provided by the author
No description provided by the author

# Constants

CallerKey ia a logger key for caller/invoking function.
ContextLogTag is used to identifier fields, which should be appended to a log entry, from a passed context.
Debug has verbose message.
Error is for logging errors using WithError.
ErrorKey is a logger key for message.
Fatal is for logging fatal messages.
FormatJson is a format for json logging.
FormatLogfmt is a format for logfmt logging.
FormatPlain is a format for plain-text logging.
Info is default log level.
LevelKey is a logger key for logging level.
MessageKey is a logger key for message.
Panic log a message and panic.
TimeKey is a logger key for time.
Warn is for logging messages about possible issues.

# Structs

Config stores the config for the logger.
No description provided by the author

# Interfaces

Logger is our contract for the logger.

# Type aliases

Fields Type to pass when we want to call WithFields for structured logging.