Documentation
¶
Overview ¶
Package log provides a standard logging interface.
Index ¶
- Variables
- type DefaultLogger
- func (l DefaultLogger) Debug(ctx context.Context, msg string, args ...map[string]any)
- func (l DefaultLogger) Error(ctx context.Context, msg string, args ...map[string]any)
- func (l DefaultLogger) Info(ctx context.Context, msg string, args ...map[string]any)
- func (l DefaultLogger) Warn(ctx context.Context, msg string, args ...map[string]any)
- type Logger
- type TflogAdapter
- func (TflogAdapter) Debug(ctx context.Context, msg string, args ...map[string]any)
- func (TflogAdapter) Error(ctx context.Context, msg string, args ...map[string]any)
- func (TflogAdapter) Info(ctx context.Context, msg string, args ...map[string]any)
- func (TflogAdapter) Warn(ctx context.Context, msg string, args ...map[string]any)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GitCommit = "NOCOMMIT" CortexServerVersion = "UNKNOWN" CortexPAPIVersion = "UNKNOWN" GoVersion = "UNKNOWN" BuildDate = "UNKNOWN" )
Functions ¶
This section is empty.
Types ¶
type DefaultLogger ¶
DefaultLogger implements the Logger interface using Go's standard log package.
Click to show internal directories.
Click to hide internal directories.