Package org.apache.velocity.runtime.log
Class VelocityFormatter
java.lang.Object
org.apache.log.format.PatternFormatter
org.apache.velocity.runtime.log.VelocityFormatter
- All Implemented Interfaces:
org.apache.log.format.Formatter
public class VelocityFormatter
extends org.apache.log.format.PatternFormatter
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.log.format.PatternFormatter
org.apache.log.format.PatternFormatter.PatternRun
-
Field Summary
Fields inherited from class org.apache.log.format.PatternFormatter
MAX_TYPE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.log.format.PatternFormatter
format, formatPatternRun, getCategory, getContextMap, getMessage, getPriority, getRTime, getStackTrace, getThread, getTypeIdFor, parse
-
Constructor Details
-
VelocityFormatter
- Parameters:
format
-
-
-
Method Details
-
getTime
Utility method to format time.- Overrides:
getTime
in classorg.apache.log.format.PatternFormatter
- Parameters:
time
- the timeformat
- ancilliary format parameter - allowed to be null- Returns:
- the formatted string
-