Re: logger variable casing?

"Oliver Burn" <[email protected]> Fri, 12 Sep 2008 16:43:01 +1000
Newsgroups gmane.comp.java.audit.checkstyle.user
Message-ID <[email protected]>
I am lazy - I just use LOGGER (actually LOG on the current project).

On Fri, Sep 12, 2008 at 16:36, Wim Deblauwe <[email protected]> wrote:

>
> Hi,
>
> I just started with checkstyle and I have a small question.
>
> How do people cope with the logger variable (member) in their classes? If
> you use the standard sun checks, you need to use this:
>
> public MyClass
> {
>    private static final Logger LOGGER = Logger.getLogger( MyClass.class );
> }
>
> since static final members are regarded a constant and need to be all
> uppercase.
>
> However, I see lots of people using lower case 'logger' or 'log' in stead.
> How did you configure checkstyle for this? Or are you forcing to the
> uppercase form?
>
> I would be glad to hear your thoughts on this.
>
> regards,
>
> Wim
> --
> View this message in context:
> http://www.nabble.com/logger-variable-casing--tp19436589p19436589.html
> Sent from the CheckStyle - User mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Checkstyle-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/checkstyle-user
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

_______________________________________________
Checkstyle-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/checkstyle-user