package
2.0.0-alpha4+incompatible
Repository: https://github.com/aspring/traefik.git
Documentation: pkg.go.dev
# Functions
AddHook adds a hook to the standard logger hooks.
CloseFile closes the log and sets the Output to stdout.
CustomWriterLevel logs writer for a specific level.
Debug logs a message at level Debug on the standard logger.
Debugf logs a message at level Debug on the standard logger.
Error logs a message at level Error on the standard logger.
Errorf logs a message at level Error on the standard logger.
Fatal logs a message at level Fatal on the standard logger.
Fatalf logs a message at level Fatal on the standard logger.
FromContext Gets the logger from context.
GetLevel returns the standard logger level.
Info logs a message at level Info on the standard logger.
Infof logs a message at level Info on the standard logger.
OpenFile opens the log file using the specified path.
Panic logs a message at level Panic on the standard logger.
Panicf logs a message at level Panic on the standard logger.
RotateFile closes and reopens the log file to allow for rotation by an external source.
SetFormatter sets the standard logger formatter.
SetLevel sets the standard logger level.
SetLogger sets the logger.
SetOutput sets the standard logger output.
Str adds a string field.
Warn logs a message at level Warn on the standard logger.
Warnf logs a message at level Warn on the standard logger.
With Adds fields.
WithoutContext Gets the main logger.
# Constants
Log entry name.
Log entry name.
Log entry name.
Log entry name.
Log entry name.
Log entry name.
Log entry name.
Log entry name.
Log entry name.
Log entry name.
# Interfaces
Logger the Traefik logger.