Documentation ¶
Overview ¶
Package tracelog provides a logger for debugging and tracing This logger will not print anything, unless TRACE_LEVEL is at least 1
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoggerFlags ¶
LoggerFlags adds to viper flags
func NewStdrLogger ¶ added in v0.5.1
NewStdrLogger returns a stdr logger
func NewZapLogger ¶ added in v0.4.0
func TraceFile ¶ added in v1.10.0
func TraceFile() string
TraceFile returns the trace-file argument, i.e. the path to the log file to use, if any.
func TraceOutput ¶ added in v0.5.1
func TraceOutput() string
TraceOutput returns the trace-output argument, i.e. the chosen trace format
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.