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>
feat/mobile
Ruslan Semagin 6 months ago committed by Kamran Ahmed
parent 3ec301f2f5
commit bfd0343ee9
  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