|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.juli.logging.LogFactory
public class LogFactory
| Constructor Summary | |
|---|---|
LogFactory()
|
|
| Method Summary | |
|---|---|
static Log |
getLog(java.lang.Class clazz)
Convenience method to return a named logger, without the application having to care about factories. |
static Log |
getLog(java.lang.String name)
Convenience method to return a named logger, without the application having to care about factories. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LogFactory()
| Method Detail |
|---|
public static Log getLog(java.lang.Class clazz)
throws LogConfigurationException
clazz - Class from which a log name will be derived
LogConfigurationException - if a suitable Log
instance cannot be returned
public static Log getLog(java.lang.String name)
throws LogConfigurationException
name - Logical name of the Log instance to be
returned (the meaning of this name is only known to the underlying
logging implementation that is being wrapped)
LogConfigurationException - if a suitable Log
instance cannot be returned
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||