uk.org.ogsadai.common
Class SystemLogs

java.lang.Object
  |
  +--uk.org.ogsadai.common.SystemLogs

public final class SystemLogs
extends java.lang.Object

Centralizes any activity to do with the system logs.


Field Summary
static java.lang.String LOG4J_PROPERTIES_FILE
          The Log4j properties variable name
 
Method Summary
 org.apache.log4j.Logger getAuditLogger()
          Returns the Audit Logger object
 org.apache.log4j.Logger getDebugLogger()
          Returns the Debug Logger.
static SystemLogs getInstance()
          Returns the SystemLogs object (as this is a singleton, the same object is always returned).
 org.apache.log4j.Logger getInstrumentationLogger()
          Returns the Instrumentation Logger.
 org.apache.log4j.Logger getProgressLogger()
          Returns the Progress Logger.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG4J_PROPERTIES_FILE

public static final java.lang.String LOG4J_PROPERTIES_FILE
The Log4j properties variable name

See Also:
Constant Field Values
Method Detail

getInstance

public static SystemLogs getInstance()
Returns the SystemLogs object (as this is a singleton, the same object is always returned).

Returns:
SystemLogs The logging object

getAuditLogger

public org.apache.log4j.Logger getAuditLogger()
Returns the Audit Logger object

Returns:
Logger

getDebugLogger

public org.apache.log4j.Logger getDebugLogger()
Returns the Debug Logger.

Returns:
Logger

getInstrumentationLogger

public org.apache.log4j.Logger getInstrumentationLogger()
Returns the Instrumentation Logger.

Returns:
Logger

getProgressLogger

public org.apache.log4j.Logger getProgressLogger()
Returns the Progress Logger.

Returns:
Logger