timestamps into logs

This commit is contained in:
rusEfi 2018-01-24 20:18:39 -05:00
parent 362a689691
commit 507147c74c
2 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,7 @@
package com.opensr5;
import java.util.Date;
/**
* (c) Andrey Belomutskiy
* 3/7/2015
@ -13,12 +15,12 @@ public interface Logger {
@Override
public void info(String msg) {
System.out.println(msg);
System.out.println(new Date() + " " + msg);
}
@Override
public void error(String msg) {
System.err.println(msg);
System.err.println(new Date() + " " + msg);
}
};

View File

@ -337,7 +337,7 @@ public class FuelTunePane {
}
for (int i = 0; i < array.length; i++)
array[i] = BaseConfigField.getByteBuffer(bp.getController(), offset + 4 * i).getFloat();
System.out.println("Loaded " + Arrays.toString(array));
System.out.println("FuelTunePane: Loaded " + Arrays.toString(array));
}
public Component getContent() {