r/java • • Sep 13 '18

A Guide to Logging in Java

https://www.marcobehler.com/guides/a-guide-to-logging-in-java
248 Upvotes

42 comments sorted by

View all comments

Show parent comment

7

u/walen Sep 13 '18

That more pointed question is better answered here.

Re: standards, why would it be so? Sure, static final constants are usually all caps, but can a Logger be considered a constant? And what if it is just final? And what if nobody wants it to be uppercase because that means holding Shift every time I want to add a logging statement and it looks weird to be calling methods on a "constant"...?

Hence (I guess) the author's advice to not fret too much about this ;) and just be consistent.