diff --git a/go.mod b/go.mod index a6f82dca1..9549357fb 100644 --- a/go.mod +++ b/go.mod @@ -23,7 +23,7 @@ require ( require ( github.com/aymanbagabas/go-osc52 v1.2.1 github.com/charmbracelet/keygen v0.3.0 - github.com/charmbracelet/log v0.1.0 + github.com/charmbracelet/log v0.2.0 github.com/gobwas/glob v0.2.3 github.com/gogs/git-module v1.7.1 github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da diff --git a/go.sum b/go.sum index 66da34ebe..7a63d52d2 100644 --- a/go.sum +++ b/go.sum @@ -47,6 +47,8 @@ github.com/charmbracelet/lipgloss v0.7.1 h1:17WMwi7N1b1rVWOjMT+rCh7sQkvDU75B2hbZ github.com/charmbracelet/lipgloss v0.7.1/go.mod h1:yG0k3giv8Qj8edTCbbg6AlQ5e8KNWpFujkNawKNhE2c= github.com/charmbracelet/log v0.1.0 h1:NZLLgBgfohpn78LWAkEEMSiI2RE3RaG/41kcd/qAcpo= github.com/charmbracelet/log v0.1.0/go.mod h1:nbG+jJlMwbPM8v2wFyPG6qCr9flLQ1XTS+fhzUWd6JE= +github.com/charmbracelet/log v0.2.0 h1:xx1ssrisRsAwVKyj7A7H3kIFdiuFWR9p2hse7B08jxY= +github.com/charmbracelet/log v0.2.0/go.mod h1:3/Kcg0B7Y6ou8JFPy6gIAl1YuV0QmRfmeVxmiDt3eas= github.com/charmbracelet/wish v0.7.0 h1:rdfacCWaKCQpCMPbOKfi68GYqsb+9CnUzN1Ov/INZJ0= github.com/charmbracelet/wish v0.7.0/go.mod h1:16EQz7k3hEgPkPENghcpEddvlrmucIudE0jnczKr+k4= github.com/cloudflare/circl v1.1.0 h1:bZgT/A+cikZnKIwn7xL2OBj012Bmvho/o6RpRvv3GKY= diff --git a/server/config/config.go b/server/config/config.go index 79cc867f4..69b3a7098 100644 --- a/server/config/config.go +++ b/server/config/config.go @@ -31,7 +31,7 @@ type Config struct { // DefaultConfig returns a Config with the values populated with the defaults // or specified environment variables. func DefaultConfig() *Config { - cfg := &Config{ErrorLog: log.StandardLog(log.StandardLogOption{ForceLevel: log.ErrorLevel})} + cfg := &Config{ErrorLog: log.StandardLog(log.StandardLogOptions{ForceLevel: log.ErrorLevel})} if err := env.Parse(cfg); err != nil { log.Fatal(err) } diff --git a/server/server.go b/server/server.go index 9ee3dc1f3..1ba07f7f8 100644 --- a/server/server.go +++ b/server/server.go @@ -64,7 +64,7 @@ func NewServer(cfg *config.Config) *Server { sh(s) } }, - lm.MiddlewareWithLogger(log.StandardLog(log.StandardLogOption{ForceLevel: log.DebugLevel})), + lm.MiddlewareWithLogger(log.StandardLog(log.StandardLogOptions{ForceLevel: log.DebugLevel})), ), } s, err := wish.NewServer(