org.mortbay.log

Class 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 Log
getLog(Class logClass)
static Log
getLog(String log)
static void
release(ClassLoader loader)

Method Details

getFactory

public static org.apache.commons.logging.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.