readable log message

This commit is contained in:
rusefi 2019-08-07 22:54:56 -04:00
parent 1f8bfa4ee0
commit 19f1a9db52
3 changed files with 9 additions and 2 deletions

View File

@ -30,4 +30,11 @@ public abstract class LiveDocHolder {
public int getStructSize() {
return Field.getStructureSize(values);
}
@Override
public String toString() {
return "LiveDocHolder{" +
"id=" + id +
'}';
}
}

View File

@ -28,7 +28,7 @@ public enum LiveDocsRegistry {
public void refresh(BinaryProtocol binaryProtocol) {
for (LiveDocHolder h : liveDocs) {
boolean visible = h.isVisible();
System.out.println(h + ": " + visible);
System.out.println(h + ": is_visible=" + visible);
if (visible) {
int liveDocRequestId = h.getId();
int size = h.getStructSize();

View File

@ -47,7 +47,7 @@ import static com.rusefi.ui.storage.PersistentConfiguration.getConfig;
* @see EngineSnifferPanel
*/
public class Launcher {
public static final int CONSOLE_VERSION = 20190803;
public static final int CONSOLE_VERSION = 20190807;
public static final String INPUT_FILES_PATH = "..";
private static final String TAB_INDEX = "main_tab";
protected static final String PORT_KEY = "port";