Save This Page
Home » jcommon-1.0.13 » org.jfree.base.log » [javadoc | source]
org.jfree.base.log
public class: DefaultLog [javadoc | source]
java.lang.Object
   org.jfree.util.Log
      org.jfree.base.log.DefaultLog
A default log implementation. The Log class defines how to create Logger-contexts and how to forward messages to the logtargets.
Constructor:
 protected DefaultLog() 
Method from org.jfree.base.log.DefaultLog Summary:
addTarget,   getDefaultLog,   init,   installDefaultLog
Methods from org.jfree.util.Log:
addTarget,   createContext,   createContext,   debug,   debug,   defineLog,   doLog,   doLog,   error,   error,   getDebuglevel,   getInstance,   getTargets,   info,   info,   init,   internalCreateContext,   isDebugEnabled,   isErrorEnabled,   isInfoEnabled,   isWarningEnabled,   log,   log,   removeTarget,   replaceTargets,   setDebuglevel,   warn,   warn
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jfree.base.log.DefaultLog Detail:
 public synchronized  void addTarget(LogTarget target) 
    Adds a log target to this facility. Log targets get informed, via the LogTarget interface, whenever a message is logged with this class.
 public static DefaultLog getDefaultLog() 
    Returns the default log.
 public  void init() 
    Initializes the log system after the log module was loaded and a log target was defined. This is the second step of the log initialisation.
 public static  void installDefaultLog() 
    Makes this implementation the default instance.