Documentation
¶
Overview ¶
Package logging contains utilities for writing logs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Flags = flag.Flags{ &flag.String{ Name: "log-level", Usage: "Sets the verbosity of logs (panic, fatal, error, warn, info, debug & trace)", EnvVar: "LOG_LEVEL", Value: "error", Destination: &level, Hidden: true, }, &flag.String{ Name: "log-format", Usage: "Sets the desired log formatter (text, json)", EnvVar: "LOG_FORMAT", Value: "text", Destination: &format, Hidden: true, }, }
Flags contains all command-line flags used by the logger.
Functions ¶
func JaegerLogger ¶
JaegerLogger returns the standard logger as an implementation of jaeger.Logger.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.