com.theopenstack.rtpdemo
Class ConfigLogger

java.lang.Object
  |
  +--com.theopenstack.rtpdemo.ConfigLogger

public class ConfigLogger
extends java.lang.Object

The Config Logger is a generic Logger class uses Log4J This is purposely kept at the highest level in our source directory structure. This way all other classes can use the same Log4J configuration. Refer to the Log4J doc on the project home page.


Field Summary
static org.apache.log4j.Logger log
          this is an handle to the Log4J Logger
 
Method Summary
static void debug(java.lang.String msg)
          Just a wrapper on log4J Logger method
static void error(java.lang.String msg)
          Just a wrapper on log4J Logger method
static void info(java.lang.String msg)
          Just a wrapper on log4J Logger method
static void init()
          This method is called initially by the Login Action to initialize the logger
static void warn(java.lang.String msg)
          Just a wrapper on log4J Logger method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static final org.apache.log4j.Logger log
this is an handle to the Log4J Logger

Method Detail

init

public static void init()
This method is called initially by the Login Action to initialize the logger


debug

public static void debug(java.lang.String msg)
Just a wrapper on log4J Logger method

Parameters:
msg - Input message to be logged

info

public static void info(java.lang.String msg)
Just a wrapper on log4J Logger method


warn

public static void warn(java.lang.String msg)
Just a wrapper on log4J Logger method

Parameters:
msg -

error

public static void error(java.lang.String msg)
Just a wrapper on log4J Logger method

Parameters:
msg -