Added (msec) designation to the CSV log file Time column heading when not using absolute time.

git-svn-id: https://svn2.assembla.com/svn/romraider/trunk@337 38686702-15cf-42e4-a595-3071df8bf5ea
This commit is contained in:
Dale Schultz 2011-09-21 03:47:03 +00:00
parent 3d682059a1
commit 53931233e7
2 changed files with 6 additions and 2 deletions

View File

@ -86,7 +86,7 @@ public class Settings implements Serializable {
private Map<String, String> loggerPluginPorts;
private boolean loggerRefreshMode = false;
private byte loggerDestinationId = 0x10;
private boolean fastPoll = false;
private boolean fastPoll = true;
private double loggerDividerLocation = 400;

View File

@ -80,7 +80,11 @@ public final class FileLoggerImpl implements FileLogger {
}
public void writeHeaders(String headers) {
writeText("Time" + headers);
String timeHeader = "Time";
if (!settings.isFileLoggingAbsoluteTimestamp()) {
timeHeader = timeHeader + " (msec)";
}
writeText(timeHeader + headers);
}
public void writeLine(String line, long timestamp) {