Documentation ¶
Index ¶
- func InitLogging(debug bool) (*otelzap.Logger, func())
- func InitTracer(serviceName, serviceVersion string) (*sdkTrace.TracerProvider, trace.Tracer, error)
- func RecordError(ctx context.Context, span trace.Span, zapLog *otelzap.SugaredLogger, err error, ...) error
- func RecordInfo(ctx context.Context, span trace.Span, zapLog *otelzap.SugaredLogger, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitLogging ¶
func InitTracer ¶
func RecordError ¶
func RecordInfo ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.