log

package
v0.0.0-...-b6f29c3 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2020 License: ISC Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//Info Log interface for debug information.
	//Info logs debug information.
	Info = log.New(os.Stdout, "[INFO] ", log.Ltime|log.Lshortfile)
	//Warning logs warning information.
	Warning = log.New(os.Stderr, "[WARNING] ", log.Ltime|log.Lshortfile)
	//Error logs error information.
	Error = log.New(os.Stderr, "[ERROR] ", log.Ltime|log.Lshortfile)
	//Suspicious logs suspicious behavior.
	Suspicious = log.New(os.Stdout, "[SUSPICIOUS] ", log.Ltime)
	//Commands logs suspicious behavior.
	Commands = log.New(os.Stdout, "[COMMAND] ", log.Ltime)
)
View Source
var Cheat = Suspicious.Println
View Source
var Cheatf = Suspicious.Printf
View Source
var Command = Commands.Println
View Source
var Commandf = Commands.Printf
View Source
var Debug = Info.Println
View Source
var Debugf = Info.Printf
View Source
var Debugln = Info.Println
View Source
var Errorf = Error.Printf
View Source
var Fatal = Error.Println
View Source
var Warn = Warning.Println
View Source
var Warnf = Warning.Printf

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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