metricloggers

package
v2.87.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAudit2Logger

func NewAudit2Logger(logger audit2log.Logger, registry metrics.Registry) audit2log.Logger

func NewDiag1Logger

func NewDiag1Logger(logger diag1log.Logger, registry metrics.Registry) diag1log.Logger

func NewEvt2Logger

func NewEvt2Logger(logger evt2log.Logger, registry metrics.Registry) evt2log.Logger

func NewMetric1Logger

func NewMetric1Logger(logger metric1log.Logger, registry metrics.Registry) metric1log.Logger

func NewMetricWriter

func NewMetricWriter(writer io.Writer, registry metrics.Registry, slsFilename string) io.Writer

NewMetricWriter returns a MetricWriter that delegates to writer, and records SLS log line length according to the provided slsFilename, e.g. "service", or "trace". If registry is nil, then no metrics are recorded.

func NewReq2Logger

func NewReq2Logger(logger req2log.Logger, registry metrics.Registry) req2log.Logger

func NewSvc1Logger

func NewSvc1Logger(logger svc1log.Logger, registry metrics.Registry) svc1log.Logger

func NewTrc1Logger

func NewTrc1Logger(logger trc1log.Logger, registry metrics.Registry) trc1log.Logger

Types

This section is empty.

Jump to

Keyboard shortcuts

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