log

package
v0.0.0-...-a3451e6 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Trace is used for logging trivial things to the command line. Only
	// print in verbose mode.
	Trace *log.Logger
	// Info is used for logging more detailed program data. Only print in
	// verbose mode.
	Info *log.Logger
	// Warning is used for logging errors and exceptions that do not halt
	// program flow. Only display in verbose mode.
	Warning *log.Logger
	// Error is used for logging program errors that cannot recover and the
	// user should know about. Always display.
	Error *log.Logger
	// Verbose indicates if the program is in verbose mode.
	Verbose bool
	// NewLine is newline to use in log messages for the OS of choice.
	NewLine string
)

Functions

func Configure

func Configure()

Configure takes the command line options and builds the loggers.

Types

This section is empty.

Jump to

Keyboard shortcuts

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