Documentation
¶
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 very bare bones minimal implementation of telemetry.Logging. It is used by run.Group when not wired up with an explicit Logging implementation.
func (*Logger) KeyValuesToContext ¶
Click to show internal directories.
Click to hide internal directories.