logging

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Logging provides a logger with zap and otel integration. https://github.com/uptrace/opentelemetry-go-extra/tree/otelzap/v0.1.15/otelzap

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitLogger

func InitLogger(minLevel zapcore.Level) (*otelzap.SugaredLogger, error)

InitLogger creates the new zap logger for sending telemetry while logging.

configType defines the type of logger to create, either development or production. defaults to production.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL