File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package logging
22
33import (
4+ "io"
5+ "log"
46 "log/slog"
57 "os"
68 "time"
79
10+ "github.com/jezek/xgb"
811 "github.com/lmittmann/tint"
912 slogmulti "github.com/samber/slog-multi"
1013 "github.com/spf13/viper"
@@ -14,6 +17,8 @@ import (
1417)
1518
1619func Init () {
20+ xgb .Logger = log .New (io .Discard , "" , 0 )
21+
1722 handlers := make ([]slog.Handler , 0 )
1823
1924 if _ , err := os .Stdout .Stat (); err == nil {
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ require (
88 github.com/Masterminds/semver/v3 v3.4.0
99 github.com/andygrunwald/vdf v1.1.0
1010 github.com/godbus/dbus/v5 v5.1.0
11+ github.com/jezek/xgb v1.1.1
1112 github.com/kbinani/screenshot v0.0.0-20250624051815-089614a94018
1213 github.com/lmittmann/tint v1.1.2
1314 github.com/minio/selfupdate v0.6.0
@@ -54,7 +55,6 @@ require (
5455 github.com/hashicorp/go-multierror v1.1.1 // indirect
5556 github.com/jackc/puddle/v2 v2.2.2 // indirect
5657 github.com/jchv/go-winloader v0.0.0-20250406163304-c1995be93bd1 // indirect
57- github.com/jezek/xgb v1.1.1 // indirect
5858 github.com/jlaffaye/ftp v0.2.0 // indirect
5959 github.com/kr/fs v0.1.0 // indirect
6060 github.com/labstack/echo/v4 v4.13.4 // indirect
You can’t perform that action at this time.
0 commit comments