How the logger is handled?
Classes sending messages to the logger should create a static Logger object. Calling the class method Logger getLogger (String name) of the class Logger, creates a Logger object. The parameter name should be a dot-separated name and should normally be based on the package name The method void logp(Level level,String sourceClass,String sourceMethod,String msg,Throwable thrown) Log a message, specifying source class and method, with associated Throwable information. The following example shows 2 code fragments of the class TestLogger. This code fragment creates a Logger-object.