Back to godoc.org

Package logging

v0.0.0-...-5dfa7fa
Latest Go to latest

The highest tagged major version is .

Published: Nov 4, 2019 | License: Apache-2.0 | Module: github.com/a-and/pkg

Index

func GetEmitableSpan

func GetEmitableSpan(ctx context.Context, metricName string) *trace.Span

GetEmitableSpan starts and returns a trace.Span with a name that is used by the ExportSpan method to emit the span.

func InitializeLogger

func InitializeLogger(logVerbose bool)

InitializeLogger initializes the base logger

func InitializeMetricExporter

func InitializeMetricExporter(context string)

InitializeMetricExporter initializes the metric exporter logger

type FormatLogger

type FormatLogger func(template string, args ...interface{})

FormatLogger is a printf style function for logging in tests.

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier