mirror of
https://github.com/restic/restic.git
synced 2025-12-10 06:21:49 +00:00
Add debug() function to khepri cmd and lib
This commit is contained in:
@@ -26,7 +26,7 @@ func initDebugLogger() *log.Logger {
|
||||
|
||||
// open logger
|
||||
l := log.New(io.MultiWriter(os.Stderr, f), "DEBUG: ", log.LstdFlags)
|
||||
fmt.Fprintf(os.Stderr, "logging activated, writing log file %s", filename)
|
||||
fmt.Fprintf(os.Stderr, "logging activated, writing log file %s\n", filename)
|
||||
l.Printf("khepri %s", version)
|
||||
|
||||
return l
|
||||
|
||||
Reference in New Issue
Block a user