taoensso / telemere

Structured telemetry library for Clojure/Script
https://www.taoensso.com/telemere
Eclipse Public License 1.0
198 stars 5 forks source link

Optional bling console handler? #33

Open ptaoussanis opened 4 days ago

ptaoussanis commented 4 days ago

See https://github.com/paintparty/bling

ptaoussanis commented 4 days ago

Update: looks like @athomasoriginal has already had some success with doing this manually, code snippet on Slack here (thanks Thomas!).

Haven't looked properly at the bling API myself yet, but sounds like it might be possible for Telemere to add relevant options to one or more of the following:

That could support an arb (fn [level output-str]) (or appropriate) optional wrapper fn, as a way of easily and optionally plugging in something like bling.

I.e. might not be necessary to add a separate bling console handler, but just an option to the pre-existing handlers/utils that would allow plugging in something like bling.