Skip to content

Commit

Permalink
docs: update README
Browse files Browse the repository at this point in the history
Signed-off-by: tmzane <73077675+tmzane@users.noreply.github.com>
  • Loading branch information
tmzane committed Dec 12, 2023
1 parent 8f82947 commit 14df42f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ logger.Alert("msg", "key", "value")
Additionally, there are options to choose the API style of the arguments (`...any` or `...slog.Attr`) and to add/remove `context.Context` as the first parameter.
This allows you to adjust the logging API to your own code style without sacrificing convenience.

> 💡 Various API rules for `log/slog` can be enforced by the [`sloglint`][1] linter. Give it a try too!
> [!TIP]
> Various API rules for `log/slog` can be enforced by the [`sloglint`][1] linter. Give it a try too!
## 🚀 Features

Expand Down

0 comments on commit 14df42f

Please sign in to comment.