package
0.11.0
Repository: https://github.com/kobsio/kobs.git
Documentation: pkg.go.dev

# Functions

ContextWithValue takes an existing context and adds all the provided fields to the context so that they will then be logged for each line where the returned context is used.
Debug is a wrapper around the zap.L().Debug() function, which adds all fields from the passed context to the log message.
Error is a wrapper around the zap.L().Error() function, which adds all fields from the passed context to the log message.
Fatal is a wrapper around the zap.L().Fatal() function, which adds all fields from the passed context to the log message.
Info is a wrapper around the zap.L().Info() function, which adds all fields from the passed context to the log message.
Panic is a wrapper around the zap.L().Panic() function, which adds all fields from the passed context to the log message.
Setup our logging library.
Warn is a wrapper around the zap.L().Warn() function, which adds all fields from the passed context to the log message.

# Constants

LogKey is the key that holds the log fields in a context.