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
-
-
Constructor Summary
Constructors Constructor Description VelocityFormatter(java.lang.String format)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
getTime(long time, java.lang.String format)
Utility method to format time.
-
-
-
Method Detail
-
getTime
protected java.lang.String getTime(long time, java.lang.String format)
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
-
-