Class DiscoveryLogFactory
java.lang.Object
org.apache.commons.discovery.log.DiscoveryLogFactory
Deprecated.
Starting from commons-discovery-05, Log is totally delegated to commons-logging
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 1089255 2011-04-05 21:51:05Z simonetripodi $
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.commons.logging.LogDeprecated.This method MUST not invoke any logging..static org.apache.commons.logging.LogDeprecated.Creates a newLoginstance for the input class.static voidsetFactory(org.apache.commons.logging.LogFactory factory) Deprecated.Set logFactory, works ONLY on first call.static voidsetLog(org.apache.commons.logging.Log _log) Deprecated.Sets theLogfor this class.
-
Constructor Details
-
DiscoveryLogFactory
public DiscoveryLogFactory()Deprecated.
-
-
Method Details
-
newLog
-
_newLog
-
setLog
Deprecated.Sets theLogfor this class.- Parameters:
_log- This classLog
-
setFactory
Deprecated.Set logFactory, works ONLY on first call.- Parameters:
factory- The log factory
-