package
0.0.0-20250305113347-723568176820
Repository: https://github.com/cilium/proxy.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

AddHooks adds additional logrus hook to default logger.
CanLogAt returns whether a log message at the given level would be logged by the given logger.
GetFormatter returns a configured logrus.Formatter with some specific values we want to have.
GetLevel returns the log level of the given logger.
InitializeDefaultLogger returns a logrus Logger with a custom text formatter.
MultiLine breaks a multi line text into individual log entries and calls the logging function to log each entry.
SetDefaultLogFormat updates the DefaultLogger with the DefaultLogFormat.
SetDefaultLogLevel updates the DefaultLogger with the DefaultLogLevel.
SetLogFormat updates the DefaultLogger with a new LogFormat.
SetLogLevel updates the DefaultLogger with a new logrus.Level.
SetLogLevelToDebug updates the DefaultLogger with the logrus.DebugLevel.
SetupLogging sets up each logging service provided in loggers and configures each logger with the provided logOpts.

# Constants

DefaultLogFormat is the string representation of the default logrus.Formatter we want to use (possible values: text or json).
DefaultLogLevel is the default log level we want to use for our logrus.Formatter.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

DefaultLogger is the base logrus logger.

# Type aliases

No description provided by the author
LogOptions maps configuration key-value pairs related to logging.