log

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(message string)

Debug logs debug information to log file

func GetNewDebugFilename

func GetNewDebugFilename() string

GetNewDebugFilename suggests a new debug log filename

func IsDebug

func IsDebug() bool

IsDebug returns true if we need to log debug information

func SetDebug

func SetDebug(newValue bool)

SetDebug enables debug printing if set to true

func SetDebugFilename

func SetDebugFilename(newFilename string)

SetDebugFilename sets debug log path Setting filename of "-" prints errors to standard error

Types

This section is empty.

Jump to

Keyboard shortcuts

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