Lines 1147-1157
Link Here
|
1147 |
this.log = new GenericXMLWriter(new OutputStreamWriter(new FileOutputStream(logFileName, false), Util.UTF_8), Util.LINE_SEPARATOR, true); |
1147 |
this.log = new GenericXMLWriter(new OutputStreamWriter(new FileOutputStream(logFileName, false), Util.UTF_8), Util.LINE_SEPARATOR, true); |
1148 |
this.tagBits |= Logger.XML; |
1148 |
this.tagBits |= Logger.XML; |
1149 |
// insert time stamp as comment |
1149 |
// insert time stamp as comment |
1150 |
try { |
1150 |
this.log.println("<!-- " + dateFormat.format(date) + " -->");//$NON-NLS-1$//$NON-NLS-2$ |
1151 |
this.log.println("<!-- " + new String(dateFormat.format(date).getBytes(), Util.UTF_8) + " -->");//$NON-NLS-1$//$NON-NLS-2$ |
|
|
1152 |
} catch (UnsupportedEncodingException e) { |
1153 |
e.printStackTrace(); |
1154 |
} |
1155 |
this.log.println(Logger.XML_DTD_DECLARATION); |
1151 |
this.log.println(Logger.XML_DTD_DECLARATION); |
1156 |
this.parameters.put(Logger.COMPILER_NAME, this.main.bind("compiler.name")); //$NON-NLS-1$ |
1152 |
this.parameters.put(Logger.COMPILER_NAME, this.main.bind("compiler.name")); //$NON-NLS-1$ |
1157 |
this.parameters.put(Logger.COMPILER_VERSION, this.main.bind("compiler.version")); //$NON-NLS-1$ |
1153 |
this.parameters.put(Logger.COMPILER_VERSION, this.main.bind("compiler.version")); //$NON-NLS-1$ |