org.aeonscope.logging
Class Log4jKit
java.lang.Object
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
|
Method Summary |
static boolean |
isNull(Object object,
String errorPrefix)
Determines whether an object is null or not. |
Log4jKit
public Log4jKit()
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.