diff --git a/src/data/roadmaps/golang/content/105-go-logging/102-log-slog.md b/src/data/roadmaps/golang/content/105-go-logging/102-log-slog.md index 2623222d1..b64a006fd 100644 --- a/src/data/roadmaps/golang/content/105-go-logging/102-log-slog.md +++ b/src/data/roadmaps/golang/content/105-go-logging/102-log-slog.md @@ -1,5 +1,10 @@ # log/slog -The `log` package is the standard logging package in Go. It provides a simple logging API that can be used to log messages to the console or to a file. +The `log` and `log/slog` (since go 1.21) packages are the standard logging packages in Go. These packages provides a simple logging API that can be used to log messages to the console or to a file. -Learn more about the `log` package in the [official documentation](https://pkg.go.dev/log). \ No newline at end of file +Visit the following resources to learn more: + +- [Official Documentation: log](https://pkg.go.dev/log) +- [Official Documentation: log/slog](https://pkg.go.dev/log/slog) `(since go 1.21)` +- [Go Blog: Structured Logging with slog](https://go.dev/blog/slog) +- [Go by Example: Logging](https://gobyexample.com/logging)