org.mortbay.log
Class LogFactory
java.lang.Object
org.mortbay.log.LogFactory
- public class LogFactory
- extends java.lang.Object
Log Factory.
This is a static facade over the commons logging LogFactory class and it will normally simply
delegate to the a discovered instance of LogFactory. However, if the system property
"org.mortbay.log.LogFactory.noDiscovery" is set to true, the a static instance of the Jetty
Factory is created and this is directly delegated to, thus avoiding the commons discovery
mechanism (and problems associated with it).
- Author:
- gregw
Method Summary |
static org.apache.commons.logging.LogFactory |
getFactory()
|
static org.apache.commons.logging.Log |
getLog(java.lang.Class logClass)
|
static org.apache.commons.logging.Log |
getLog(java.lang.String log)
|
static void |
release(java.lang.ClassLoader loader)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogFactory
public LogFactory()
getLog
public static org.apache.commons.logging.Log getLog(java.lang.Class logClass)
getLog
public static org.apache.commons.logging.Log getLog(java.lang.String log)
getFactory
public static org.apache.commons.logging.LogFactory getFactory()
release
public static void release(java.lang.ClassLoader loader)
Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.