MCPcopy Create free account
hub / github.com/Dids/clobber / GetLogFilePath

Function GetLogFilePath

util/root.go:26–28  ·  view source on GitHub ↗

TODO: Should we create a "GetLogPath" function that returns a STATIC log filename/path, with the current date/time appended to it, so it's the same file per each run? GetLogFilePath returns the full path to the current log file

()

Source from the content-addressed store, hash-verified

24
25// GetLogFilePath returns the full path to the current log file
26func GetLogFilePath() string {
27 return GetLogsPath() + "/clobber.log"
28}
29
30// GetLogsPath returns the full path to the logs directory
31func GetLogsPath() string {

Callers 3

FireMethod · 0.92
customInitFunction · 0.92
GetLastLogLineFunction · 0.85

Calls 1

GetLogsPathFunction · 0.85

Tested by

no test coverage detected