change to zerolog
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
package ui
|
||||
|
||||
import (
|
||||
"epochsilicon/pkg/debug"
|
||||
"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 {
|
||||
debug.Printf("Failed to get download Epoch patches: %v", err)
|
||||
log.Debug().Msgf("Failed to get download Epoch patches: %v", err)
|
||||
}
|
||||
if stats.Outdated == 0 {
|
||||
debug.Println("Nothing is outdated")
|
||||
log.Debug().Msg("Nothing is outdated")
|
||||
epochPatchesApplied = true
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user