insensa
Class ErrorLogger

java.lang.Object
  extended by insensa.ErrorLogger

public class ErrorLogger
extends java.lang.Object


Field Summary
private  java.lang.String FILENAME
           
private static ErrorLogger instance
           
private  boolean logged
           
private  java.util.logging.Logger logger
           
 
Constructor Summary
private ErrorLogger()
           
 
Method Summary
 java.util.logging.Logger getErrorLogger()
           
static ErrorLogger getInstance()
           
 boolean isLogged()
           
 void logError(java.lang.String targetClass, java.lang.String targetFunction, java.lang.String msg, java.lang.Throwable e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILENAME

private final java.lang.String FILENAME

logger

private java.util.logging.Logger logger

logged

private boolean logged

instance

private static ErrorLogger instance
Constructor Detail

ErrorLogger

private ErrorLogger()
Method Detail

getInstance

public static ErrorLogger getInstance()
Returns:

getErrorLogger

public java.util.logging.Logger getErrorLogger()
Returns:

isLogged

public boolean isLogged()
Returns:

logError

public void logError(java.lang.String targetClass,
                     java.lang.String targetFunction,
                     java.lang.String msg,
                     java.lang.Throwable e)
Parameters:
targetClass -
targetFunction -
msg -
e -