org.apache.commons.discovery.log
public class DiscoveryLogFactory extends Object
Simple implementation of Log that sends all enabled log messages, for all defined loggers, to System.err.
Hacked from commons-logging SimpleLog for use in discovery. This is intended to be enough of a Log implementation to bootstrap Discovery.
One property: org.apache.commons.discovery.log.level
.
valid values: all, trace, debug, info, warn, error, fatal, off.
Version: $Id: DiscoveryLogFactory.java 480374 2006-11-29 03:33:25Z niallp $
Method Summary | |
---|---|
static Log | newLog(Class clazz) |
static void | setFactory(LogFactory factory)
Set logFactory, works ONLY on first call. |
static void | setLog(Log _log) |
static Log | _newLog(Class clazz)
This method MUST not invoke any logging.. |