blammo
blammo copied to clipboard
Batteries-included structured logging library
See #81 for more details.
The [hackage page](https://hackage.haskell.org/package/Blammo) for Blammo mentions reading `README.md` to get to know the package (I guess) and the readme is even linked in the cabal file, but no such thing...
This change removes the manual `Text`-building of our current terminal formatter and instead uses `Prettyprinter`. This is a much better tool for the job and produces very nice output in...
The integration snippets in the README show how to use Blammo in various tools. We could easily make small packages of functions to make it more convenient. Amazonka, in particular,...
Blammo has [special handling for `LogLevelOther "trace"`](https://github.com/freckle/blammo/blob/b2e52ec797a84dbe2bd076e6609c65cdcfc0a908/src/Blammo/Logging/LogSettings/LogLevels.hs#L134-L142), specifically to support Amazonka, which uses that level as more verbose than debug. It's a relatively common convention. It would be nice to...
Blammo's `HasLogger` requires `loggerL :: Lens' env Logger`, which implies that it can not only get a `Logger` from `env` but that it can also modify the `Logger` in `env`....
In the `Blammo` log settings, there is no control supplied for log rotation, though it is provided by upstream `fast-logger` -- is this something that's on the roadmap (would you...
This package contains a module to paper over some aeson-1.x vs 2.x differences. Specifically `Key` and `KeyMap`. We've since needed this in many other places, it seems like something that...
Currently it's unclear how to silence the logs entirely. Setting `/dev/null/` as the destination probably won't work on Windows.
We use `decodeUtf8` in a few places, which will throw on invalid data. Since we don't know what we're logging, and us throwing would be pretty disruptive, let's not do...