log
This commit is contained in:
parent
7a29642bb5
commit
7b5bc5f349
|
@ -24,7 +24,7 @@ var (
|
|||
func main() {
|
||||
flag.Parse()
|
||||
logger := slog.New(slog.NewJSONHandler(os.Stdout, nil))
|
||||
logger.Info("starting server", "port", *port, "dbPath", *dbPath)
|
||||
logger.Info("starting server", "port", *port, "dbPath", *dbPath, "apiKey", *apiKey)
|
||||
|
||||
db, err := moviestore.NewSQLite(*dbPath)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue