package
0.0.0-20241004052545-caa2fb9b60ae
Repository: https://github.com/grafana/mimir.git
Documentation: pkg.go.dev
# Functions
CheckFatal prints an error and exits with error code 1 if err is non-nil.
Flush forces the buffered logger, if configured, to flush to the underlying writer This is typically only called when the application is shutting down.
InitLogger initialises the global gokit logger (util_log.Logger) and returns that logger.
No description provided by the author
No description provided by the author
WarnExperimentalUse logs a warning and increments the experimental features metric.
WithContext returns a Logger that has information about the current user or users and trace in its details.
WithSourceIPs returns a Logger that has information about the source IPs in its details.
WithTraceID returns a Logger that has information about the traceID in its details.
WithUserID returns a Logger that has information about the current user in its details.
WithUserIDs returns a Logger that has information about the current user or users (separated by "|") in its details.
# Variables
Logger is a shared go-kit logger.
# Structs
RateLimitedLogger implements log.Logger and permits only a single log invocation every interval.
No description provided by the author
No description provided by the author
No description provided by the author