package
0.3.1
Repository: https://github.com/icinga/icinga-go-library.git
Documentation: pkg.go.dev

# Functions

AssertOutput returns an error if output is not a valid logger output.
NewJournaldCore returns a zapcore.Core that sends log entries to systemd-journald and uses the given identifier as a prefix for structured logging context that is sent as journal fields.
NewLogger returns a new Logger.
NewLogging takes the name and log level for the default logger, output where log messages are written to, options having log levels for named child loggers and returns a new Logging.
NewLoggingFromConfig returns a new Logging from Config.

# Constants

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

# Structs

Config defines Logger configuration.
Logger wraps zap.SugaredLogger and allows to get the interval for periodic logging.
Logging implements access to a default logger and named child loggers.

# Type aliases

Options define child loggers with their desired log level.