traces

package
v0.0.0-...-6dd38b0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DebugTracer   *log.Logger
	ErrorTracer   *log.Logger
	InfoTracer    *log.Logger
	WarningTracer *log.Logger
)

DebugTracer is a Logger object to output logs to debug the program

*ErrorTracer is a Logger object to output logs for runtime errors
*InfoTracer is a Logger object to output basic informations about the program
*WarningTracer is a Logger object to output runtime warnings - warnings are informative messages that are not considered as errors

Functions

func InitTraces

func InitTraces(debugHandle io.Writer, errorHandle io.Writer, infoHandle io.Writer, warningHandle io.Writer)

InitTraces is a function that initialize Loggers

Types

This section is empty.

Jump to

Keyboard shortcuts

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