|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jomc.logging.ri.log4j.Log4JLogger
@Generated(value="org.jomc.tools.JavaSources",
comments="See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools")
public class Log4JLoggerLog4J logging system implementation.
Specifications
org.jomc.logging.Logger 1.0 Multitonorg.jomc.spi.Listener 1.0 MultitonProperties
name"
Property of typejava.lang.String.Name of the component events are logged for.
Dependencies
ObjectManagementLogger"
Dependency on org.jomc.logging.Logger at specification level 1.0 bound to an instance.
| Constructor Summary | |
|---|---|
Log4JLogger()
Creates a new Log4JLogger instance. |
|
| Method Summary | |
|---|---|
void |
debug(String string)
|
void |
debug(String message,
Throwable throwable)
|
void |
debug(Throwable throwable)
|
void |
error(String string)
|
void |
error(String message,
Throwable throwable)
|
void |
error(Throwable throwable)
|
void |
fatal(String string)
|
void |
fatal(String message,
Throwable throwable)
|
void |
fatal(Throwable throwable)
|
org.apache.log4j.Logger |
getLogger()
Requests a Log4J logger for the name given by property name. |
String |
getName()
Gets the value of the name property. |
void |
info(String string)
|
void |
info(String message,
Throwable throwable)
|
void |
info(Throwable throwable)
|
boolean |
isDebugEnabled()
|
boolean |
isErrorEnabled()
|
boolean |
isFatalEnabled()
|
boolean |
isInfoEnabled()
|
boolean |
isTraceEnabled()
|
boolean |
isWarnEnabled()
|
void |
onLog(Level level,
String message,
Throwable throwable)
|
void |
trace(String string)
|
void |
trace(String message,
Throwable throwable)
|
void |
trace(Throwable throwable)
|
void |
warn(String string)
|
void |
warn(String message,
Throwable throwable)
|
void |
warn(Throwable throwable)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Generated(value="org.jomc.tools.JavaSources",
comments="See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools")
public Log4JLogger()
Log4JLogger instance.
| Method Detail |
|---|
@Generated(value="org.jomc.tools.JavaSources",
comments="See http://jomc.sourceforge.net/jomc/1.0-alpha-16/jomc-tools")
public String getName()
name property.
org.jomc.ObjectManagementException - if getting the property instance fails.public boolean isDebugEnabled()
isDebugEnabled in interface org.jomc.logging.Loggerpublic void debug(String string)
debug in interface org.jomc.logging.Loggerpublic void debug(Throwable throwable)
debug in interface org.jomc.logging.Logger
public void debug(String message,
Throwable throwable)
debug in interface org.jomc.logging.Loggerpublic boolean isErrorEnabled()
isErrorEnabled in interface org.jomc.logging.Loggerpublic void error(String string)
error in interface org.jomc.logging.Loggerpublic void error(Throwable throwable)
error in interface org.jomc.logging.Logger
public void error(String message,
Throwable throwable)
error in interface org.jomc.logging.Loggerpublic boolean isFatalEnabled()
isFatalEnabled in interface org.jomc.logging.Loggerpublic void fatal(String string)
fatal in interface org.jomc.logging.Loggerpublic void fatal(Throwable throwable)
fatal in interface org.jomc.logging.Logger
public void fatal(String message,
Throwable throwable)
fatal in interface org.jomc.logging.Loggerpublic boolean isInfoEnabled()
isInfoEnabled in interface org.jomc.logging.Loggerpublic void info(String string)
info in interface org.jomc.logging.Loggerpublic void info(Throwable throwable)
info in interface org.jomc.logging.Logger
public void info(String message,
Throwable throwable)
info in interface org.jomc.logging.Loggerpublic boolean isTraceEnabled()
isTraceEnabled in interface org.jomc.logging.Loggerpublic void trace(String string)
trace in interface org.jomc.logging.Loggerpublic void trace(Throwable throwable)
trace in interface org.jomc.logging.Logger
public void trace(String message,
Throwable throwable)
trace in interface org.jomc.logging.Loggerpublic boolean isWarnEnabled()
isWarnEnabled in interface org.jomc.logging.Loggerpublic void warn(String string)
warn in interface org.jomc.logging.Loggerpublic void warn(Throwable throwable)
warn in interface org.jomc.logging.Logger
public void warn(String message,
Throwable throwable)
warn in interface org.jomc.logging.Loggerpublic org.apache.log4j.Logger getLogger()
name.
name.
public void onLog(Level level,
String message,
Throwable throwable)
onLog in interface org.jomc.spi.Listener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||