stderr

package
v0.0.0-...-73d41d7 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2025 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Overview

Package stderr contains a simple api.MetricsLogger implementation that writes all metrics events to standard error.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetricsLogger

type MetricsLogger struct{}

MetricsLogger is a simple api.MetricsLogger implementation that writes all metrics events to standard error.

func NewMetricsLogger

func NewMetricsLogger() *MetricsLogger

NewMetricsLogger returns a new MetricsLogger. It writes metrics event logs to standard error.

func (*MetricsLogger) Log

func (*MetricsLogger) Log(metricsEvent *api.MetricsEvent) error

Log writes metrics event logs to standard error.

Jump to

Keyboard shortcuts

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