log

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2018 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DebugEnabled bool

DebugEnabled if true debug message are printed to the console

Functions

func Debugf

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

Debugf log a debug message, if DebugEnabled is true

func Debugln

func Debugln(v ...interface{})

Debugln log a debug message, if DebugEnabled is true

func Errorf

func Errorf(format string, v ...interface{})

Errorf log an error message

func Fatalf

func Fatalf(format string, v ...interface{})

Fatalf log a message and terminate the program

func Fatalln

func Fatalln(v ...interface{})

Fatalln log a message and terminate the program

func Infof

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

Infof log a Info message

func Infoln

func Infoln(v ...interface{})

Infoln log a Info message

Types

This section is empty.

Jump to

Keyboard shortcuts

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