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"
"fmt"
"github.com/rs/zerolog/log"
"strings"
"time"
@@ -105,7 +105,7 @@ func ShowUpdateDialog(updateInfo *utils.UpdateInfo, currentVersion string, myWin
if err != nil {
progressLabel.SetText(fmt.Sprintf("Download failed: %v", err))
log.Debug().Msgf("Download failed: %v", err)
log.Debugf("Download failed: %v", err)
// Re-enable close button
d.SetButtons([]fyne.CanvasObject{
@@ -123,7 +123,7 @@ func ShowUpdateDialog(updateInfo *utils.UpdateInfo, currentVersion string, myWin
err = utils.InstallUpdate(downloadPath)
if err != nil {
progressLabel.SetText(fmt.Sprintf("Installation failed: %v", err))
log.Debug().Msgf("Installation failed: %v", err)
log.Debugf("Installation failed: %v", err)
// Re-enable close button
fyne.DoAndWait(func() {