You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Vikas Phonsa <VP...@suz.com> on 2003/10/30 02:19:09 UTC

basic question from a newbie

Hi guys,

I started with log4j couple of hrs ago and I'm reading thru the
documentation and its making sense. I have gone too far into it, but one
basic thing is confusing me. What exactly is a logger.

When u say

Logger log1 = Logger.getLogger("com.foo.Bar");

What is com.foo.Bar, is that some object that is automatically generated or
what ?

The basic examples don't require the creation of any such class or object.
Then what is it ?

When I really start using log4j, then would I be required to create any such
"logger" classes/objects. 

Can't figure out what's going on here.


Thanks

Vikas


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org