Will a timbre/merge-config! work with Telemere, or is there not a compatibility layer for that?
I'm essentially wondering if cider-nrepl should have a Telemere integration, as we have a Timbre one https://github.com/clojure-emacs/logjam/blob/a1c442951f2bd99f80c84784f80d8b0afe38a946/src/logjam/framework/timbre.clj#L64-L69
Hi there! cider-nrepl integration for Telemere would be awesome, happy to help with that anyway I can! Telemere doesn’t use the same approach to config that Timbre does. While Timbre has everything in one big config map, Telemere instead has separate utils for managing different parts of its config. For example https://cljdoc.org/d/com.taoensso/telemere/CURRENT/api/taoensso.telemere#add-handler! to add a handler (equivalent to adding a Timbre appender), https://cljdoc.org/d/com.taoensso/telemere/CURRENT/api/taoensso.telemere#set-min-level! to set the minimum level, etc. This approach allows for better documentation, and has some advantages re: performance and future extensibility. Feel free to ping if I can help point you to anything you need, or make any changes on Telemere’s side that might help make your job easier.
Thanks, Peter! I'll save that for future reference. Probably I'd integrate Telemere into CIDER around the same time we swap Timbre->Tele at work. Time is tight for me nowadays. Or if someone wants to beat me to it, PR welcome (I'd be happy to receive a rough draft - can help from there)
Sounds good 👍 Telemere’s stable release is anyway still a few months out, so there’s plenty of time. You (or anyone else) is welcome to ping me on #telemere any time if anything’s unclear. Thanks for all the work you do on Cider, etc.! 🙏