mirror of https://github.com/rusefi/rusefi-1.git
timestamps into logs
This commit is contained in:
parent
362a689691
commit
507147c74c
|
@ -1,5 +1,7 @@
|
||||||
package com.opensr5;
|
package com.opensr5;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* (c) Andrey Belomutskiy
|
* (c) Andrey Belomutskiy
|
||||||
* 3/7/2015
|
* 3/7/2015
|
||||||
|
@ -13,12 +15,12 @@ public interface Logger {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void info(String msg) {
|
public void info(String msg) {
|
||||||
System.out.println(msg);
|
System.out.println(new Date() + " " + msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void error(String msg) {
|
public void error(String msg) {
|
||||||
System.err.println(msg);
|
System.err.println(new Date() + " " + msg);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -337,7 +337,7 @@ public class FuelTunePane {
|
||||||
}
|
}
|
||||||
for (int i = 0; i < array.length; i++)
|
for (int i = 0; i < array.length; i++)
|
||||||
array[i] = BaseConfigField.getByteBuffer(bp.getController(), offset + 4 * i).getFloat();
|
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() {
|
public Component getContent() {
|
||||||
|
|
Loading…
Reference in New Issue