logrus

package
v1.999.0-beta.7 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: Apache-2.0, BSD-3-Clause, Apache-2.0 Imports: 2 Imported by: 1

Documentation

Overview

Package logrus provides a log/span correlation hook for the sirupsen/logrus package (https://github.com/sirupsen/logrus).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DDContextLogHook

type DDContextLogHook struct {
	v2.DDContextLogHook
}

DDContextLogHook ensures that any span in the log context is correlated to log output.

func (*DDContextLogHook) Fire

func (d *DDContextLogHook) Fire(e *logrus.Entry) error

Fire implements logrus.Hook interface, attaches trace and span details found in entry context

Jump to

Keyboard shortcuts

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