Documentation
¶
Overview ¶
Package log holds a minimal implementation of telemetry.Logging
Index ¶
- type Logger
- func (l *Logger) Clone() telemetry.Logger
- func (l *Logger) Context(_ context.Context) telemetry.Logger
- func (l *Logger) Debug(msg string, keyValuePairs ...interface{})
- func (l *Logger) Error(msg string, err error, keyValuePairs ...interface{})
- func (l *Logger) Info(msg string, keyValuePairs ...interface{})
- func (l *Logger) KeyValuesToContext(ctx context.Context, _ ...interface{}) context.Context
- func (l *Logger) Level() telemetry.Level
- func (l *Logger) Metric(_ telemetry.Metric) telemetry.Logger
- func (l *Logger) SetLevel(telemetry.Level)
- func (l *Logger) With(keyValuePairs ...interface{}) telemetry.Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger holds a minimal implementation of telemetry.Logging. Used by run.Group when not provided with an explicit telemetry.Logging implementation.
func (*Logger) KeyValuesToContext ¶
Click to show internal directories.
Click to hide internal directories.