Need logging object available to classes in my package
Posted on 2004-10-13
Ok...this may be a stupid question, but I am getting frustrated. I am just learning Java and have been writing an application.
I am attempting to use log4j in my application and need some help. I want to create the Logger once then reuse it any number of different places in my application. The classes in my app are in different files and I just can't seem to figure out how to reuse the Logger object.
Does this make any sense? If not, let me know...I will try to explain further =)
I am hoping someone can explain or point me in the right direction.