# Functions
CheckFatal prints an error and exits with error code 1 if err is non-nil.
ExtractSampledTraceID gets traceID and whether the trace is samples or not.
GoKitLogToSlog convert go-kit/log to slog usage: logutil.GoKitLogToSlog(gokitLogger).
HeadersFromContext enables the logging of specified HTTP Headers that have been added to a context.
InitLogger initialises the global gokit logger (util_log.Logger) and overrides the default logger for the server.
InjectHeadersIntoHTTPRequest injects the logging header map from the context into the request headers.
NewPrometheusLogger creates a new instance of PrometheusLogger which exposes Prometheus counters for various log levels.
WarnExperimentalUse logs a warning and increments the experimental features metric.
WithContext returns a Logger that has information about the current user in its details.
WithExecutionID returns a Logger that has information about the execution id 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.
# Variables
Logger is a shared go-kit logger.
# Structs
PrometheusLogger exposes Prometheus counters for each of go-kit's log levels.