Package org.apache.juli.logging
Class LogFactory
java.lang.Object
org.apache.juli.logging.LogFactory
-
Constructor Details
-
LogFactory
public LogFactory()
-
-
Method Details
-
getLog
Convenience method to return a named logger, without the application having to care about factories.- Parameters:
clazz
- Class from which a log name will be derived- Returns:
- The log
- Throws:
LogConfigurationException
- if a suitableLog
instance cannot be returned
-
getLog
Convenience method to return a named logger, without the application having to care about factories.- Parameters:
name
- Logical name of theLog
instance to be returned (the meaning of this name is only known to the underlying logging implementation that is being wrapped)- Returns:
- The log
- Throws:
LogConfigurationException
- if a suitableLog
instance cannot be returned
-