package
0.0.0-20230213145002-8fa78e2581bf
Repository: https://github.com/stolsma/go-p4pack.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

configure configures the loggers.
GetLogger gets a logger by name.
GetLoggerList returns the configured logger domains including operational configuration.
No description provided by the author
Register the logging domain with a reregister callback that will be called when the logging configuration changes.
SetLevel sets the root logger level.

# Constants

ConsoleEncoding is an encoding for outputs to the console.
DebugLevel logs a message at debug level.
DPanicLevel logs at PanicLevel; otherwise, it logs at ErrorLevel.
EmptyLevel :.
ErrorLevel logs a message at error level.
FatalLevel logs a message, then calls os.Exit(1).
FileSinkType is the type for a file sink.
InfoLevel logs a message at info level.
JSONEncoding is an encoding for JSON outputs.
KafkaSinkType is the sink type for the Kafka sink.
Last level in the list.
PanicLevel logs a message, then panics.
StderrSinkType is the sink type for stderr.
StdoutSinkType is the sink type for stdout.
WarnLevel logs a message at warning level.

# Variables

No description provided by the author

# Structs

Config logging configuration.
FileSinkConfig is the configuration for a file sink.
KafkaSinkConfig is the configuration for a Kafka sink.
LoggerConfig is the configuration for a logger.
No description provided by the author
OutputConfig is the configuration for a sink output.
SinkConfig is the configuration for a sink.
StderrSinkConfig is the configuration for an stderr sink.
StdoutSinkConfig is the configuration for an stdout sink.

# Interfaces

Logger represents an abstract logging interface.
Output is a logging output.

# Type aliases

Level :.
No description provided by the author
No description provided by the author
SinkEncoding is the encoding for a sink.
SinkType is the type of a sink.