log

package
v0.0.0-...-80cfa99 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2017 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var JSONOutput bool

JsonOutput Is JSON output enabled?

Functions

func Debug

func Debug(code string, message string, arguments ...interface{})

Debug Log debug output

func Debugf

func Debugf(message string, arguments ...interface{})

func Error

func Error(code string, message string, arguments ...interface{})

Error Log error output

func Errorf

func Errorf(message string, arguments ...interface{})

func IsDebug

func IsDebug() bool

IsDebug Is debug output enabled?

func SetDebug

func SetDebug(isDebug bool)

SetDebug Set debug mode on or off

Types

This section is empty.

Jump to

Keyboard shortcuts

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