Documentation
¶
Index ¶
- type Logger
- func (o *Logger) Debug(ctx context.Context, msg string, attrs ...attribute.KeyValue)
- func (o *Logger) Error(ctx context.Context, msg string, attrs ...attribute.KeyValue)
- func (o *Logger) Fatal(ctx context.Context, msg string, attrs ...attribute.KeyValue)
- func (o *Logger) Info(ctx context.Context, msg string, attrs ...attribute.KeyValue)
- func (o *Logger) Trace(ctx context.Context, msg string, attrs ...attribute.KeyValue)
- func (o *Logger) Warn(ctx context.Context, msg string, attrs ...attribute.KeyValue)
- type Option
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
}
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
func WithAttributes ¶
func WithLoggerOpts ¶
func WithLoggerOpts(opts ...log.LoggerOption) Option
func WithLoggerProvider ¶
func WithLoggerProvider(p log.LoggerProvider) Option
Click to show internal directories.
Click to hide internal directories.