package
0.0.0-20250228095952-3583c10e372d
Repository: https://github.com/cloudfoundry/gorouter.git
Documentation: pkg.go.dev
# Functions
CreateLogger returns a copy of the logger.
CreateLoggerWithSource returns a copy of the logger, which comes with the 'source' attribute set to the provided
prefix and component.
ErrAttr is creating an slog.String attribute with 'error' key and the provided error message as value.
Fatal logs message and slogAttrs with Error level.
NewLagerAdapter returns a new lager.Logger that uses slog with a zap handler underneath.
Panic logs message and slogAttrs with Error level.
RFC3339Formatter TimeEncoder for RFC3339 with trailing Z for UTC and nanoseconds.
SetDynamicWriteSyncer sets the log handler's sink.
SetLoggingLevel dynamically sets the logging level at runtime.
SetTimeEncoder dynamically sets the time encoder at runtime:
'rfc3339': The encoder is set to a custom RFC3339 encoder
All other values: The encoder is set to an Epoch encoder
*/.
StructValue takes an arbitrary struct.
# Constants
No description provided by the author
# Structs
LagerAdapter tbd.
StructWithLogValue implements LogValue(), which allows lazy execution.