com.jaxfront.core.log
Class DummyLogRegistry

java.lang.Object
  extended by com.jaxfront.core.log.DummyLogRegistry
All Implemented Interfaces:
Logger

public class DummyLogRegistry
extends java.lang.Object
implements Logger

This class logs all message to the console.

Version:
1.60

Constructor Summary
DummyLogRegistry()
          Creates an instance of a dummy logger.
 
Method Summary
 void error(java.lang.Class aClass, java.lang.Exception e)
          Log the exception with log level error
 void error(java.lang.Class aClass, java.lang.String message)
          Log the message with log level error
 void fatal(java.lang.Class aClass, java.lang.Exception e)
          Log the exception with log level fatal
 void fatal(java.lang.Class aClass, java.lang.String message)
          Log the message with log level fatal
 java.lang.String getLogFileUrl()
           
 void info(java.lang.Class aClass, java.lang.String message)
          Log the message with log level info
 void log(java.lang.Class aClass, java.lang.String message)
          Log the message with log level log
 void setLogFileUrl(java.lang.String url)
           
 void setLogLevels(java.lang.String[] logLevels)
           
 void warn(java.lang.Class aClass, java.lang.String message)
          Log the message with log level warn
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyLogRegistry

public DummyLogRegistry()
Creates an instance of a dummy logger.

Method Detail

error

public void error(java.lang.Class aClass,
                  java.lang.Exception e)
Log the exception with log level error

Specified by:
error in interface Logger
Parameters:
aClass - the class where the message comes
e - the exception to log

error

public void error(java.lang.Class aClass,
                  java.lang.String message)
Log the message with log level error

Specified by:
error in interface Logger
Parameters:
aClass - the class where the message comes
message - the message to log

fatal

public void fatal(java.lang.Class aClass,
                  java.lang.Exception e)
Log the exception with log level fatal

Specified by:
fatal in interface Logger
Parameters:
aClass - the class where the message comes
e - the exception to log

fatal

public void fatal(java.lang.Class aClass,
                  java.lang.String message)
Log the message with log level fatal

Specified by:
fatal in interface Logger
Parameters:
aClass - the class where the message comes
message - the message to log

info

public void info(java.lang.Class aClass,
                 java.lang.String message)
Log the message with log level info

Specified by:
info in interface Logger
Parameters:
aClass - the class where the message comes
message - the message to log

log

public void log(java.lang.Class aClass,
                java.lang.String message)
Log the message with log level log

Specified by:
log in interface Logger
Parameters:
aClass - the class where the message comes
message - the message to log

warn

public void warn(java.lang.Class aClass,
                 java.lang.String message)
Log the message with log level warn

Specified by:
warn in interface Logger
Parameters:
aClass - the class where the message comes
message - the message to log

setLogFileUrl

public void setLogFileUrl(java.lang.String url)
Specified by:
setLogFileUrl in interface Logger

getLogFileUrl

public java.lang.String getLogFileUrl()
Specified by:
getLogFileUrl in interface Logger

setLogLevels

public void setLogLevels(java.lang.String[] logLevels)
Specified by:
setLogLevels in interface Logger