com.flybotix.hfr.util.log.LogOutput Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of highfrequencyrobots Show documentation
Show all versions of highfrequencyrobots Show documentation
A way for wifi robots and IoT devices to quickly send compressed data arrays across a network.
package com.flybotix.hfr.util.log;
public class LogOutput {
public final ELevel level;
public final String text;
public final String thread;
public final String method;
public final long time;
LogOutput(long pTime, ELevel pLevel, String pText, String pThread, String pMethod)
{
time = pTime;
level = pLevel;
text = pText;
thread = pThread;
method = pMethod;
}
public String toString() {
// return "[" + level + "] [" + thread + "] [" + method + ":\t" + text;
return "[" + level + "] [" + method + ":\t" + text;
}
}