|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jomc.logging.ri.jdk.JdkLogger
@Generated(value="org.jomc.tools.JavaSources",
comments="See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools")
public class JdkLoggerJDK logging system implementation.
Specifications
org.jomc.logging.Logger 1.0 MultitonProperties
name"
Property of typejava.lang.String.Name of the component events are logged for.
stackDepth"
Property of typeint.Number of frames between the logger and the frame of the caller.
| Constructor Summary | |
|---|---|
JdkLogger()
Creates a new JdkLogger instance. |
|
| Method Summary | |
|---|---|
void |
debug(String message)
|
void |
debug(String message,
Throwable throwable)
|
void |
debug(Throwable throwable)
|
void |
error(String message)
|
void |
error(String message,
Throwable throwable)
|
void |
error(Throwable throwable)
|
void |
fatal(String message)
|
void |
fatal(String message,
Throwable throwable)
|
void |
fatal(Throwable throwable)
|
Logger |
getLogger()
Requests the JDK logger for the name given by property name. |
String |
getName()
Gets the value of the name property. |
void |
info(String message)
|
void |
info(String message,
Throwable throwable)
|
void |
info(Throwable throwable)
|
boolean |
isDebugEnabled()
|
boolean |
isErrorEnabled()
|
boolean |
isFatalEnabled()
|
boolean |
isInfoEnabled()
|
boolean |
isTraceEnabled()
|
boolean |
isWarnEnabled()
|
void |
trace(String message)
|
void |
trace(String message,
Throwable throwable)
|
void |
trace(Throwable throwable)
|
void |
warn(String message)
|
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-11/jomc-tools")
public JdkLogger()
JdkLogger instance.
| Method Detail |
|---|
public boolean isDebugEnabled()
isDebugEnabled in interface org.jomc.logging.Loggerpublic void debug(String message)
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 message)
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 message)
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 message)
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 message)
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 message)
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 Logger getLogger()
name.
name.
@Generated(value="org.jomc.tools.JavaSources",
comments="See http://jomc.sourceforge.net/jomc/1.0-alpha-11/jomc-tools")
public String getName()
name property.
org.jomc.ObjectManagementException - if getting the property instance fails.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||