start custom logger

This commit is contained in:
2025-07-23 08:59:16 -07:00
parent 8b5be228fe
commit a1f46438d0
14 changed files with 253 additions and 196 deletions

View File

@@ -1,8 +1,8 @@
package ui
import (
"epochsilicon/pkg/log"
"git.burkey.co/eburk/epochcli/pkg/epoch"
"github.com/rs/zerolog/log"
"os"
"path/filepath"
"strings"
@@ -110,10 +110,10 @@ func updateEpochStatus() {
epochPatchesApplied := false
stats, err := epoch.Update(paths.EpochPath, false, true, true)
if err != nil {
log.Debug().Msgf("Failed to get download Epoch patches: %v", err)
log.Debugf("Failed to get download Epoch patches: %v", err)
}
if stats.Outdated == 0 {
log.Debug().Msg("Nothing is outdated")
log.Debug("Nothing is outdated")
epochPatchesApplied = true
}