loggers

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JaegerLogger

type JaegerLogger struct {
	// contains filtered or unexported fields
}

JaegerLogger provides the Jaeger logging interface with a zerolog backend.

func NewJaegerLogger

func NewJaegerLogger(log zerolog.Logger) *JaegerLogger

NewJaegerLogger creates a new Jaeger logger with a zerolog backend.

func (*JaegerLogger) Error

func (l *JaegerLogger) Error(msg string)

Error logs an error.

func (*JaegerLogger) Infof

func (l *JaegerLogger) Infof(msg string, args ...interface{})

Infof logs information.

Jump to

Keyboard shortcuts

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