com.didana.codecontract.util
Class LogUtillity
java.lang.Object
com.didana.codecontract.util.LogUtillity
public class LogUtillity
- extends java.lang.Object
Utility class that wraps the functionality of log4j package
and define methods for printing information about a class.
- Author:
- Diana Berberova
Constructor Summary |
LogUtillity(java.lang.Class classInstance)
|
Method Summary |
void |
debug(java.lang.String message)
|
void |
debug(java.lang.String message,
java.lang.Throwable t)
|
void |
error(java.lang.String message)
|
void |
error(java.lang.String message,
java.lang.Throwable t)
|
void |
printAnnotation(java.lang.annotation.Annotation annotation)
|
void |
printFields()
|
void |
printMethods(java.lang.Class classInstance)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogUtillity
public LogUtillity(java.lang.Class classInstance)
printFields
public void printFields()
printMethods
public void printMethods(java.lang.Class classInstance)
printAnnotation
public void printAnnotation(java.lang.annotation.Annotation annotation)
debug
public void debug(java.lang.String message)
debug
public void debug(java.lang.String message,
java.lang.Throwable t)
error
public void error(java.lang.String message)
error
public void error(java.lang.String message,
java.lang.Throwable t)