mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-03-19 14:49:42 +01:00
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>
This commit is contained in:
parent
3ec301f2f5
commit
bfd0343ee9
@ -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…
x
Reference in New Issue
Block a user