Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
eliofery committed May 3, 2024
1 parent 0bcf414 commit 71d1d20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# eslog : 🌈 slog.Handler that writes prettier logs

Package "eslog" implements a [slog.Handler](https://pkg.go.dev/log/slog#Handler)
Package **eslog** implements a [slog.Handler](https://pkg.go.dev/log/slog#Handler)
that writes prettier logs. Two modes are supported: **pretty** and **json**.

Supported logging levels:
Expand Down Expand Up @@ -71,7 +71,7 @@ logger.Fatal("Fatal example", slog.Any("message", "fatal message"))

### Customize Attributes

"ReplaceAttr" can be used to alter or drop attributes. See [slog.HandlerOptions](https://pkg.go.dev/log/slog#HandlerOptions) for details.
**ReplaceAttr** can be used to alter or drop attributes. See [slog.HandlerOptions](https://pkg.go.dev/log/slog#HandlerOptions) for details.

```go
lvl := new(slog.LevelVar)
Expand Down

0 comments on commit 71d1d20

Please sign in to comment.