log4r icon indicating copy to clipboard operation
log4r copied to clipboard

A layout that supports structured logging should probably be the default

Open atheriel opened this issue 1 year ago • 0 comments

One of the key advantages of this package is its support for structured logging, but that isn't surfaced by default, and it probably should be.

The default output for Go's slog package looks like a good compromise here; it isn't pure logfmt because it wants to be backward-compatible with the older log API:

2022/11/08 15:28:26 INFO hello count=3

atheriel avatar Oct 16 '24 01:10 atheriel