logger

package
v0.0.0-...-c888d9e Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2017 License: MIT Imports: 3 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Output *os.File

Output of logging functions

Functions

func Debug

func Debug(msg ...interface{})

Debug level > 1 logging with "[DEBUG]" prefix

func Debugf

func Debugf(format string, msg ...interface{})

Debugf level > 1 format logging with "[DEBUG]" prefix

func Info

func Info(msg ...interface{})

Info level > 0 logging with "[INFO]" prefix

func Infof

func Infof(format string, msg ...interface{})

Infof level > 0 format logging with "[INFO]" prefix

func Init

func Init(path string, level uint) error

Init the log output and logging level

func Warning

func Warning(msg ...interface{})

Warning any level logging with "[WARN]" prefix

func Warningf

func Warningf(format string, msg ...interface{})

Warningf any level format logging with "[WARN]" prefix

Types

This section is empty.

Jump to

Keyboard shortcuts

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