Hello!

Use a "private final static Log" member in your classes. That way the logging object is created at startup and thus you no longer have to spend time for it.

What's the quickest and easiest way of my code knowing what class called a method?
If you use log4j you could configure the pattern of the appender to provide this information. I dont know now whats the pattern token is, but you should find it on the log4j homepage.


--- Mario


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to