what is the difference between io.pedestal.log and clojure.tools.logging?
does it matter which one I use?
@emccue io.pedestal.log
is the logging lib provided by Pedestal. When you create a new pedestal service, itโs a dependency since Pedestal uses it internally. Pedestal.log defaults to sljf4j-based logging by default but takes a data-centric approach to logging. Itโs api is different that clojure.tools.logging but they both provide similarly named log-level macros
So for my purposes I can just use either and both will go through logback right? I don't need to refactor all my logs?
If you already have clojure.tools.logging in place then you can continue to use that. The same logback config will be used
(I probably will use the data driven api going forward)