log

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: May 5, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EnableDebugLog = false

EnableDebugLog is the flag to enable the debug log

Functions

func Debug

func Debug(v ...interface{})

Debug calls standard log.Print function if the `EnableDebugLog` is true

func Debugf

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

Debugf calls standard log.Printf function if the `EnableDebugLog` is true

func Debugln

func Debugln(v ...interface{})

Debugln calls standard log.Println function if the `EnableDebugLog` is true

func Print

func Print(v ...interface{})

Print is the wrapper function of the standard log.Print

func Printf

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

Printf is the wrapper function of the standard log.Printf

func Println

func Println(v ...interface{})

Println is the wrapper function of the standard log.Println

Types

This section is empty.

Jump to

Keyboard shortcuts

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