org.mortbay.log

Class LogFactory

public class LogFactory extends 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 LogFactorygetFactory()
static LoggetLog(Class logClass)
static LoggetLog(String log)
static voidrelease(ClassLoader loader)

Method Detail

getFactory

public static LogFactory getFactory()

getLog

public static Log getLog(Class logClass)

getLog

public static Log getLog(String log)

release

public static void release(ClassLoader loader)
Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.