We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a3dfa4 commit 4ac740eCopy full SHA for 4ac740e
1 file changed
main.go
@@ -3,6 +3,7 @@ package main
3
import (
4
"errors"
5
"fmt"
6
+ "log/slog"
7
"net/http"
8
"os"
9
"regexp"
@@ -62,7 +63,7 @@ func main() {
62
63
j.Run()
64
}()
65
- logger.Infof("starting http server on %s", Opts.Server.Bind)
66
+ logger.Info("starting http server", slog.String("bind", Opts.Server.Bind))
67
startHttpServer()
68
}
69
0 commit comments