From 424e77a2b05f0894d2ed750c1128175b0a917840 Mon Sep 17 00:00:00 2001 From: YoSev Date: Fri, 27 Sep 2024 09:37:35 +0200 Subject: [PATCH] fix(docs): add missing Logger --- src/basics/server.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/basics/server.md b/src/basics/server.md index 650e28a..f5bcf4e 100644 --- a/src/basics/server.md +++ b/src/basics/server.md @@ -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()) }) ```