Class AF2SysLogger

java.lang.Object
  extended by AF2SysLogger

public class AF2SysLogger
extends java.lang.Object

A wrapper class for the SysLogger class to provide standard AF2 syslogging functionality.


Field Summary
private static AF2SysLogger _instance
           
private  SysLogger thisSysLogger
           
 
Constructor Summary
AF2SysLogger()
           
 
Method Summary
private  java.lang.String getStackTrace()
           
static AF2SysLogger instance()
          The instance class method
 void sysLog()
          Log the current class, method and line number
 void sysLog(java.lang.Object theObject, java.lang.String sev, java.lang.Exception theException)
          Log a message to syslog
 void sysLog(java.lang.Object theObject, java.lang.String sev, java.lang.String msg)
          Log a message to syslog
 void sysLog(java.lang.String sev, java.lang.String msg)
          Log a message to syslog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_instance

private static AF2SysLogger _instance

thisSysLogger

private SysLogger thisSysLogger
Constructor Detail

AF2SysLogger

public AF2SysLogger()
Method Detail

instance

public static AF2SysLogger instance()
The instance class method

Returns:
The single instance of the class

sysLog

public void sysLog(java.lang.Object theObject,
                   java.lang.String sev,
                   java.lang.String msg)
Log a message to syslog

Parameters:
theObject - The object logging the message
sev - The severity of the message
msg - The message

sysLog

public void sysLog(java.lang.Object theObject,
                   java.lang.String sev,
                   java.lang.Exception theException)
Log a message to syslog

Parameters:
theObject - The object logging the message
sev - The severity of the message
theException - The exception to be logged

sysLog

public void sysLog()
Log the current class, method and line number


sysLog

public void sysLog(java.lang.String sev,
                   java.lang.String msg)
Log a message to syslog

Parameters:
sev - The severity of the message
msg - The message

getStackTrace

private java.lang.String getStackTrace()