logging

package
v0.0.0-test Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2021 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoKitWrapper

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

GoKitWrapper wraps around the grafana-specific logger to make a compatible logger for go-kit.

func NewWrapper

func NewWrapper(l glog.Logger) *GoKitWrapper

NewWrapper creates a new go-kit wrapper for a grafana-specific logger

func (*GoKitWrapper) Write

func (w *GoKitWrapper) Write(p []byte) (n int, err error)

Write implements io.Writer

Jump to

Keyboard shortcuts

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