Documentation ¶
Overview ¶
Package logging implements methods used for logging to dpcmder.log file and adds timestamp to each log line.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // MaxEntrySize limits log line length. MaxEntrySize = 1000 // DebugLogFile enables writing of debug messages to dpcmder.log file in current folder. DebugLogFile = false // TraceLogFile enables writing of trace messages to dpcmder.log file in current folder. TraceLogFile = false )
Functions ¶
func LogDebugf ¶ added in v0.2.0
func LogDebugf(format string, params ...interface{})
LogDebugf logs formatted debug message to log file.
func LogFatal ¶
func LogFatal(v ...interface{})
LogFatal logs fatal error message to log file and exits dpcmder.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.