org.jomc.logging.ri.jdk
Class JdkLogger
java.lang.Object
org.jomc.logging.ri.jdk.JdkLogger
- All Implemented Interfaces:
- Logger, Listener
@Generated(value="org.jomc.tools.SourceFileProcessor 1.2",
comments="See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2")
public final class JdkLogger
- extends Object
- implements Logger, Listener
Object management and configuration logging system implementation backed by JDK Logging.
- Identifier:
- org.jomc.logging.ri.jdk.JdkLogger
- Name:
- JOMC Logging JDK Logging
- Specifications:
- org.jomc.logging.Logger @ 1.0
- org.jomc.spi.Listener @ 1.0
- Abstract:
- No
- Final:
- No
- Stateless:
- Yes
- Version:
- 1.1
- Author:
- Christian Schulte 1.0
Constructor Summary |
JdkLogger()
Creates a new JdkLogger instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JdkLogger
@Generated(value="org.jomc.tools.SourceFileProcessor 1.2",
comments="See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2")
public JdkLogger()
- Creates a new
JdkLogger
instance.
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabled
in interface Logger
debug
public void debug(String message)
- Specified by:
debug
in interface Logger
debug
public void debug(Throwable throwable)
- Specified by:
debug
in interface Logger
debug
public void debug(String message,
Throwable throwable)
- Specified by:
debug
in interface Logger
isErrorEnabled
public boolean isErrorEnabled()
- Specified by:
isErrorEnabled
in interface Logger
error
public void error(String message)
- Specified by:
error
in interface Logger
error
public void error(Throwable throwable)
- Specified by:
error
in interface Logger
error
public void error(String message,
Throwable throwable)
- Specified by:
error
in interface Logger
isFatalEnabled
public boolean isFatalEnabled()
- Specified by:
isFatalEnabled
in interface Logger
fatal
public void fatal(String message)
- Specified by:
fatal
in interface Logger
fatal
public void fatal(Throwable throwable)
- Specified by:
fatal
in interface Logger
fatal
public void fatal(String message,
Throwable throwable)
- Specified by:
fatal
in interface Logger
isInfoEnabled
public boolean isInfoEnabled()
- Specified by:
isInfoEnabled
in interface Logger
info
public void info(String message)
- Specified by:
info
in interface Logger
info
public void info(Throwable throwable)
- Specified by:
info
in interface Logger
info
public void info(String message,
Throwable throwable)
- Specified by:
info
in interface Logger
isTraceEnabled
public boolean isTraceEnabled()
- Specified by:
isTraceEnabled
in interface Logger
trace
public void trace(String message)
- Specified by:
trace
in interface Logger
trace
public void trace(Throwable throwable)
- Specified by:
trace
in interface Logger
trace
public void trace(String message,
Throwable throwable)
- Specified by:
trace
in interface Logger
isWarnEnabled
public boolean isWarnEnabled()
- Specified by:
isWarnEnabled
in interface Logger
warn
public void warn(String message)
- Specified by:
warn
in interface Logger
warn
public void warn(Throwable throwable)
- Specified by:
warn
in interface Logger
warn
public void warn(String message,
Throwable throwable)
- Specified by:
warn
in interface Logger
onLog
public void onLog(Level level,
String message,
Throwable throwable)
- Specified by:
onLog
in interface Listener
getLogger
public Logger getLogger()
- Gets the JDK logger backing the instance.
- Returns:
- The JDK logger backing the instance.
- See Also:
getName()
,
Logger.getLogger(java.lang.String)
getName
@Generated(value="org.jomc.tools.SourceFileProcessor 1.2",
comments="See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2")
public String getName()
- Gets the value of the
<name>
property.
- Final:
- No
- Returns:
- Name of the component events are logged for.
- Throws:
ObjectManagementException
- if getting the property instance fails.
Please note that this documentation is maintained by non-native english speaking authors. As such, you may encounter phrases or wordings which seem imprecise or may even have a totally different meaning to native english speaking readers than what the individual author was trying to express. If you are a native english speaking reader and find any such phrases or wordings we kindly ask you to send an email to the corresponding author and help us improve this documentation in order to avoid misunderstandings. You will find the authors' email addresses at the top of each class. Please accept our apologies for any inconvenience caused.