Skip to content

Commit

Permalink
fix(docs): add missing Logger
Browse files Browse the repository at this point in the history
  • Loading branch information
YoSev authored and System-Glitch committed Sep 27, 2024
1 parent 7cbb353 commit 424e77a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/basics/server.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ if err != nil {
}

server.RegisterStartupHook(func(s *goyave.Server) {
s.Info("Server is listening", "host", s.Host())
s.Logger.Info("Server is listening", "host", s.Host())
})
```

Expand Down

0 comments on commit 424e77a

Please sign in to comment.