Documentation
¶
Index ¶
Constants ¶
View Source
const ( // DefaultContext it's used as default, prints only warning, errors // and alerts. DefaultContext = Context(iota) // VerboseContext prints more information, logged after some stages // in program are being executed. VerboseContext = Context(iota) // DebuggingContext prints information containing variables values, // for debugging purposes. DebuggingContext = Context(iota) )
Variables ¶
This section is empty.
Functions ¶
func Panic ¶
func Panic(formatter string, args ...interface{})
Panic prints and then call panic. noinspection GoUnusedExportedFunction
func Print ¶
func Print(formatter string, args ...interface{})
Print uses formatting and arguments to print text to logger output.
func SetLogContext ¶
func SetLogContext(lc Context)
SetLogContext choose between different contexts and setups log to limit information depending on context.
Types ¶
Click to show internal directories.
Click to hide internal directories.