Project Aristotle - ArisID Attribute Services

org.openliberty.arisid.log
Class JavaUtilLogImpl

java.lang.Object
  extended by 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


Field Summary
 
Fields inherited from interface org.openliberty.arisid.log.ILogger
LEVEL_ALL, LEVEL_DEBUG, LEVEL_ERROR, LEVEL_INFO, LEVEL_OFF, LEVEL_TRACE, LEVEL_WARNING
 
Constructor Summary
JavaUtilLogImpl()
           
 
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
 

Constructor Detail

JavaUtilLogImpl

public JavaUtilLogImpl()
Method Detail

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

OpenLiberty.org - Licensed under Apache APL 2.0