Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Debug = newConditionalLogger(os.Stdout, "go-hbci: ", debugFlags, &debugMode)
Debug is a logger which logs when debugMode is enabled. If disabled, it executes a noop
View Source
var Info = newConditionalLogger(os.Stdout, "go-hbci: ", log.LstdFlags, &infoMode)
Info is a logger which logs when infoMode is enabled. If disabled, it executes a noop
Functions ¶
func InfoLog ¶
func InfoLog() bool
InfoLog returns true if logging to info level is enabled, false otherwise
func WithDebugLogging ¶
func WithDebugLogging(fn func())
WithDebugLogging enables debug logging for the given function fn
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.