feat: change the description and links in the 'log/slog' node (#5798)

* change the description and links in the 'log/slog' node
---------

Co-authored-by: dsh <daniel.s.holdsworth@gmail.com>
pull/5801/head
Ruslan Semagin 5 months ago committed by GitHub
parent 7c60b8cfea
commit 4a71075340
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 9
      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).
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)

Loading…
Cancel
Save