Rename struct
This commit is contained in:
@@ -27,7 +27,8 @@ func MainApp(configPath string) {
|
||||
utils.EnsureDirExists("logs") // Ensure the logs directory exists
|
||||
logPath := fmt.Sprintf("logs/zurg-%s.log", time.Now().Format(time.DateOnly))
|
||||
log := logutil.NewLogger(logPath)
|
||||
zurglog := log.Named("zurg")
|
||||
|
||||
zurglog := log.Named("zurg") // logger for this main function
|
||||
|
||||
zurglog.Debugf("PID: %d", os.Getpid())
|
||||
zurglog.Infof("Version: %s", version.GetVersion())
|
||||
|
||||
Reference in New Issue
Block a user