org.aeonscope.logging
Class Log4jKit

java.lang.Object
  extended by org.aeonscope.logging.Log4jKit

public class Log4jKit
extends Object

General log4j utilities to aid with logging info, warning, error, fatal, and debug messages.

Author:
Brooke Kuhlmann

Constructor Summary
Log4jKit()
           
 
Method Summary
static boolean isNull(Object object, String errorPrefix)
          Determines whether an object is null or not.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Log4jKit

public Log4jKit()
Method Detail

isNull

public static boolean isNull(Object object,
                             String errorPrefix)
Determines whether an object is null or not. A customized error message (prefix + " is null.") is logged when the object is null.

Parameters:
object - The object to validate.
errorPrefix - The error prefix to be used when logging the error.
Returns:
true = is null, false = is not null.