Package net.sourceforge.pmd.lang.vm.util
Class LogUtil
- java.lang.Object
-
- net.sourceforge.pmd.lang.vm.util.LogUtil
-
@Deprecated public final class LogUtil extends Object
Deprecated.for removal with PMD 7.0.0Convenient 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.- Since:
- 1.5
- Version:
- $Id: Log.java 724825 2008-12-09 18:56:06Z nbubna $
- Author:
- Nathan Bubna
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static String
formatFileString(String template, int linenum, int colnum)
Deprecated.Simply creates a string that formats the template filename with line number and column.static String
formatFileString(AbstractVmNode node)
Deprecated.Creates a string that formats the template filename with line number and column of the given Node.static String
formatFileString(Directive directive)
Deprecated.Creates a string that formats the template filename with line number and column of the given Directive.
-
-
-
Method Detail
-
formatFileString
public static String formatFileString(Directive directive)
Deprecated.Creates a string that formats the template filename with line number and column of the given Directive. We use this routine to provide a cosistent format for displaying file errors.
-
formatFileString
public static String formatFileString(AbstractVmNode node)
Deprecated.Creates a string that formats the template filename with line number and column of the given Node. We use this routine to provide a cosistent format for displaying file errors.
-
formatFileString
public static String formatFileString(String template, int linenum, int colnum)
Deprecated.Simply creates a string that formats the template filename with line number and column. We use this routine to provide a cosistent format for displaying file errors.- Parameters:
template
- File name of template, can be nulllinenum
- Line number within the filecolnum
- Column number withing the file at linenum
-
-