Closed Baret closed 3 years ago
We are using the logging framework pretty "java style", which means when adding debug or trace logs, we need to do tedious stuff like
if (log.isTraceEnabled()) { log.trace("Some log message that probably never appears anywhere") }
This is 3 lines of code for something you probably only need once when you debug a new feature.
This can be done much easier and prettier with https://github.com/MicroUtils/kotlin-logging
So in this issue we should
kotlin-logging
LoggerFactory
isXYEnabled
log.trace { "whatever"}
We are using the logging framework pretty "java style", which means when adding debug or trace logs, we need to do tedious stuff like
This is 3 lines of code for something you probably only need once when you debug a new feature.
This can be done much easier and prettier with https://github.com/MicroUtils/kotlin-logging
So in this issue we should
kotlin-logging
as dependency (we will still need the sl4j-classic dependency)LoggerFactory
to more easily instantiate loggersisXYEnabled
calls to change them tolog.trace { "whatever"}