Reverse the coupling of module log and config #1606
|
@ -39,7 +39,8 @@ const logModule = `vikunja`
|
|||
// loginstance is the instance of the logger which is used under the hood to log
|
||||
var logInstance = logging.MustGetLogger(logModule)
|
||||
|
||||
// logpath is the path in which log files will be written. This value should actually never be used
|
||||
// logpath is the path in which log files will be written.
|
||||
|
||||
// This value is a mere fallback for other modules that could but shouldn't be used before calling ConfigLogger
|
||||
var logPath = "."
|
||||
|
||||
// InitLogger initializes the global log handler
|
||||
|
|
Loading…
Reference in New Issue
Block a user
If it's never actually used, why specify it? Please add a comment.