Logging

7 views
Skip to first unread message

Jiri Peinlich

unread,
Nov 13, 2018, 8:49:14 AM11/13/18
to jDip Developers
I wanted to remove the HIGlayout which made me start working on being able to run the project directly from the source using gradle run, and when working on that task I would really like if we could introduce logging. If nobody objects I will add slf4j and logback dependencies to the project. 

If you agree I would also like to bring up a dispute I had recently. Are we going to have public final logger  variable names uppercase or lowercase? I prefer lowercase:


Uwe Plonus

unread,
Nov 13, 2018, 9:50:57 AM11/13/18
to jDip Developers
Logging is always good. So add logging.

I would prefer java.util.logging but feel free to use slf4j.

For the name: I know that there are evangelists that say that it must be upper case (because it is static final) but for me it doesn't matter. lower case is more readable in most cases (for the logger) and everybody knows that logger (or log) is for logging.

Also note that there is a class Log which is used for logging at some places.

Uwe
Reply all
Reply to author
Forward
0 new messages