Documentation
¶
Index ¶
- type TracerLogger
- func (t *TracerLogger) Close()
- func (t *TracerLogger) Debug(sender, format string, v ...any)
- func (t *TracerLogger) DebugWithAttributes(sender string, attributes []attribute.KeyValue, format string, v ...any)
- func (t *TracerLogger) Error(sender, format string, v ...any)
- func (t *TracerLogger) ErrorWithAttributes(sender string, attributes []attribute.KeyValue, format string, v ...any)
- func (t *TracerLogger) Info(sender, format string, v ...any)
- func (t *TracerLogger) InfoWithAttributes(sender string, attributes []attribute.KeyValue, format string, v ...any)
- func (t *TracerLogger) Warn(sender, format string, v ...any)
- func (t *TracerLogger) WarnWithAttributes(sender string, attributes []attribute.KeyValue, format string, v ...any)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TracerLogger ¶
func NewLoggerWithTraceID ¶
func NewLoggerWithTraceID(ctx context.Context, componentName, spanName string) *TracerLogger
func (*TracerLogger) Debug ¶
func (t *TracerLogger) Debug(sender, format string, v ...any)
func (*TracerLogger) DebugWithAttributes ¶
func (*TracerLogger) Error ¶
func (t *TracerLogger) Error(sender, format string, v ...any)
func (*TracerLogger) ErrorWithAttributes ¶
func (*TracerLogger) Info ¶
func (t *TracerLogger) Info(sender, format string, v ...any)
func (*TracerLogger) InfoWithAttributes ¶
func (*TracerLogger) Warn ¶
func (t *TracerLogger) Warn(sender, format string, v ...any)
func (*TracerLogger) WarnWithAttributes ¶
Click to show internal directories.
Click to hide internal directories.