MCPcopy Create free account
hub / github.com/InferCore/InferCore / NewLogExporter

Function NewLogExporter

internal/telemetry/log_exporter.go:11–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9type LogExporter struct{}
10
11func NewLogExporter() *LogExporter {
12 return &LogExporter{}
13}
14
15func (e *LogExporter) EmitMetric(name string, value float64, labels map[string]string) {
16 log.Printf("telemetry=metric name=%s value=%f labels=%v", name, value, labels)

Callers 1

NewExporterFromConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected