Logger #

Please forgive me if this is too stupid a question, but why do the logger names used by IDEA always start with a hash?

For example,
private static final Logger LOG = Logger.getInstance("#com.intellij.ide.wizard.AbstractWizard");

Please don't bash me in case I have totally missed something here... ;)

--Etienne

2 comments

Hello etienne,

This way we're preventing scrambler from changing this constant to somtheing
like com.intellij.b.a.c to keep logging message meaningful.

-


Maxim Shafirov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Please forgive me if this is too stupid a question, but why do the
logger names used by IDEA always start with a hash?

For example, private static final Logger LOG =
Logger.getInstance("#com.intellij.ide.wizard.AbstractWizard");

Please don't bash me in case I have totally missed something here...
;)

--Etienne



0

Thanks for the explanation, Maxim.

0

Please sign in to leave a comment.