org.eclipse.xpand2.output
Class FileInfoLogger
java.lang.Object
org.eclipse.xpand2.output.FileInfoLogger
- All Implemented Interfaces:
- PostProcessor
public class FileInfoLogger
- extends java.lang.Object
- implements PostProcessor
Message Pattern Variables
{0} : File Path (including name)
{1} : File name
{2} : LOC current file
{3} : LOC total
{4} : Number of files written by this postprocessor
Log Level
0 = Trace
1 = Debug
2 = Info
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileInfoLogger
public FileInfoLogger()
afterClose
public void afterClose(FileHandle handle)
- Description copied from interface:
PostProcessor
- Called after the file has been written.
- Specified by:
afterClose
in interface PostProcessor
- Parameters:
handle
- A handle to the file that has been written
beforeWriteAndClose
public void beforeWriteAndClose(FileHandle handle)
- Description copied from interface:
PostProcessor
- Called before the file will be written.
- Specified by:
beforeWriteAndClose
in interface PostProcessor
- Parameters:
handle
- A handle to the file that will be written
setMessagePattern
public void setMessagePattern(java.lang.String messagePattern)
getMessagePattern
public java.lang.String getMessagePattern()
getLogLevel
public int getLogLevel()
setLogLevel
public void setLogLevel(int logLevel)