|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.pmd.lang.vm.util.LogUtil
public class LogUtil
Convenient wrapper for LogChute functions. This implements the RuntimeLogger methods (and then some). It is hoped that use of this will fully replace use of the RuntimeLogger.
Constructor Summary | |
---|---|
LogUtil()
|
Method Summary | |
---|---|
static String |
formatFileString(AbstractVmNode node)
Creates a string that formats the template filename with line number and column of the given Node. |
static String |
formatFileString(Directive directive)
Creates a string that formats the template filename with line number and column of the given Directive. |
static String |
formatFileString(String template,
int linenum,
int colnum)
Simply creates a string that formats the template filename with line number and column. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LogUtil()
Method Detail |
---|
public static final String formatFileString(Directive directive)
public static final String formatFileString(AbstractVmNode node)
public static final String formatFileString(String template, int linenum, int colnum)
template
- File name of template, can be nulllinenum
- Line number within the filecolnum
- Column number withing the file at linenum
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |