Documentation ¶
Index ¶
- Constants
- Variables
- func CloseLogging()
- func Debugf(format string, args ...interface{})
- func DisableColor()
- func Fatalf(format string, args ...interface{})
- func Infof(format string, args ...interface{})
- func Logf(format string, args ...interface{})
- func PurgeOldLogs(dataFolder string, logsToKeep int) (err error)
- func SetFileOutput(fileName string)
- func SetLogger(debugMode bool)
- func Warnf(format string, args ...interface{})
- type Logger
Constants ¶
View Source
const ( LOG = " " INFO = "INFO " WARN = "WARN " ERROR = "ERROR " DEBUG = "DEBUG " FATAL = "FATAL " )
Variables ¶
Functions ¶
func CloseLogging ¶ added in v0.1.0
func CloseLogging()
func DisableColor ¶ added in v0.1.0
func DisableColor()
func PurgeOldLogs ¶ added in v0.1.0
func SetFileOutput ¶ added in v0.1.0
func SetFileOutput(fileName string)
Types ¶
Click to show internal directories.
Click to hide internal directories.