Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OtelSeverityText ¶
OtelSeverityText convert zerolog level to otel severityText ref to https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/logs/data-model.md#severity-fields
Types ¶
type Logger ¶
type Logger struct { *hertzzerolog.Logger // contains filtered or unexported fields }
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
func WithRecordStackTraceInSpan ¶
WithRecordStackTraceInSpan record stack track option
func WithTraceErrorSpanLevel ¶
WithTraceErrorSpanLevel trace error span level option
Click to show internal directories.
Click to hide internal directories.