org.openliberty.arisid.log
Class JavaUtilLogImpl
java.lang.Object
org.openliberty.arisid.log.JavaUtilLogImpl
- All Implemented Interfaces:
- ILogger
public class JavaUtilLogImpl
- extends java.lang.Object
- implements ILogger
Implementation of ILogger for Java.util.logging
Method Summary |
void |
debug(java.lang.Object message)
|
void |
debug(java.lang.Object message,
java.lang.Throwable t)
|
void |
error(java.lang.Object message)
|
void |
error(java.lang.Object message,
java.lang.Throwable t)
|
void |
fatal(java.lang.Object message)
|
void |
fatal(java.lang.Object message,
java.lang.Throwable t)
|
void |
info(java.lang.Object message)
|
void |
info(java.lang.Object message,
java.lang.Throwable t)
|
void |
initialize(java.lang.Class<?> name)
Initializes an ILogger instance for a particular class. |
boolean |
isDebugEnabled()
|
boolean |
isInfoEnabled()
|
boolean |
isTraceEnabled()
|
void |
setLevel(int level)
|
void |
trace(java.lang.Object message)
|
void |
trace(java.lang.Object message,
java.lang.Throwable t)
|
void |
warn(java.lang.Object message)
|
void |
warn(java.lang.Object message,
java.lang.Throwable t)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaUtilLogImpl
public JavaUtilLogImpl()
debug
public void debug(java.lang.Object message,
java.lang.Throwable t)
- Specified by:
debug
in interface ILogger
debug
public void debug(java.lang.Object message)
- Specified by:
debug
in interface ILogger
error
public void error(java.lang.Object message,
java.lang.Throwable t)
- Specified by:
error
in interface ILogger
error
public void error(java.lang.Object message)
- Specified by:
error
in interface ILogger
fatal
public void fatal(java.lang.Object message,
java.lang.Throwable t)
- Specified by:
fatal
in interface ILogger
fatal
public void fatal(java.lang.Object message)
- Specified by:
fatal
in interface ILogger
info
public void info(java.lang.Object message,
java.lang.Throwable t)
- Specified by:
info
in interface ILogger
info
public void info(java.lang.Object message)
- Specified by:
info
in interface ILogger
initialize
public void initialize(java.lang.Class<?> name)
- Description copied from interface:
ILogger
- Initializes an ILogger instance for a particular class.
- Specified by:
initialize
in interface ILogger
- Parameters:
name
- Name of a class wanting to perform logging.
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabled
in interface ILogger
isInfoEnabled
public boolean isInfoEnabled()
- Specified by:
isInfoEnabled
in interface ILogger
isTraceEnabled
public boolean isTraceEnabled()
- Specified by:
isTraceEnabled
in interface ILogger
setLevel
public void setLevel(int level)
- Specified by:
setLevel
in interface ILogger
trace
public void trace(java.lang.Object message,
java.lang.Throwable t)
- Specified by:
trace
in interface ILogger
trace
public void trace(java.lang.Object message)
- Specified by:
trace
in interface ILogger
warn
public void warn(java.lang.Object message,
java.lang.Throwable t)
- Specified by:
warn
in interface ILogger
warn
public void warn(java.lang.Object message)
- Specified by:
warn
in interface ILogger