Baret / pltcmd

Control military units only with your radio
MIT License
4 stars 0 forks source link

Use kotlin-logging #125

Closed Baret closed 3 years ago

Baret commented 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