Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Logger = GeneosLogger{os.Stdout, INFO, false} DebugLogger = GeneosLogger{os.Stderr, DEBUG, true} ErrorLogger = GeneosLogger{os.Stderr, ERROR, true} Log = log.New(Logger, "", 0) Debug = log.New(DebugLogger, "", 0) Error = log.New(ErrorLogger, "", 0) )
debuglog must be defined so it can be set in EnableDebugLog() so for consistency do the same for all three loggers
Functions ¶
func DisableDebugLog ¶
func DisableDebugLog()
func EnableDebugLog ¶
func EnableDebugLog()
Types ¶
type GeneosLogger ¶
func (*GeneosLogger) DisablePrefix ¶ added in v1.2.1
func (g *GeneosLogger) DisablePrefix()
func (*GeneosLogger) EnablePrefix ¶ added in v1.2.1
func (g *GeneosLogger) EnablePrefix()
Click to show internal directories.
Click to hide internal directories.