logger

package
v0.0.0-...-5864974 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupLogging

func SetupLogging(debug, quiet bool, logfile string)

SetupLogging configures the logging output.

debug   will set the log level to DEBUG
quiet   will set the log level to ERROR
logfile will direct the logging output to a file. Empty string is
        interpreted as stderr. If there is an error opening the file the
        logger will fallback to stderr.

Types

This section is empty.

Jump to

Keyboard shortcuts

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