Documentation
¶
Index ¶
- type Logger
- func (l *Logger) Debug(ctx context.Context, msg string, kvs ...attribute.KeyValue)
- func (l *Logger) Error(ctx context.Context, msg string, kvs ...attribute.KeyValue)
- func (l *Logger) Info(ctx context.Context, msg string, kvs ...attribute.KeyValue)
- func (l *Logger) Panic(ctx context.Context, msg string, kvs ...attribute.KeyValue) *Logger
- func (l *Logger) Warn(ctx context.Context, msg string, kvs ...attribute.KeyValue)
- func (l *Logger) WithError(err error) *Logger
- func (l *Logger) WithErrors(errs ...error) *Logger
- func (l *Logger) WithFields(kvs ...attribute.KeyValue) *Logger
- func (l *Logger) WithSpanStartOptions(opts ...trace.SpanStartOption) *Logger
- func (l *Logger) WithStackTrace() *Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
func NewDefaultLogger ¶
func NewDefaultLogger() *Logger
func (*Logger) WithErrors ¶
func (*Logger) WithSpanStartOptions ¶
func (l *Logger) WithSpanStartOptions(opts ...trace.SpanStartOption) *Logger
func (*Logger) WithStackTrace ¶
Click to show internal directories.
Click to hide internal directories.