Something went wrong. Try again.
clone
Something went wrong. Try again.
simple-inserts-language-server logger.go
123456789101112131415161718package main
import ( "io"
"github.com/tliron/commonlog" _ "github.com/tliron/commonlog/slog")
func setupLogger(_ io.Writer, debug bool) { lvl := 1 if debug { lvl = 2 }
commonlog.Configure(lvl, nil)}