Move logging into a database.

This commit is contained in:
Greyson Parrelli
2021-07-19 18:30:04 -04:00
parent 0b85852621
commit 7419da7247
27 changed files with 723 additions and 442 deletions

View File

@@ -22,5 +22,5 @@ public class EmptyLogger extends Log.Logger {
public void wtf(String tag, String message, Throwable t) { }
@Override
public void blockUntilAllWritesFinished() { }
public void flush() { }
}

View File

@@ -48,7 +48,7 @@ public final class LogRecorder extends Log.Logger {
}
@Override
public void blockUntilAllWritesFinished() {
public void flush() {
}
public List<Entry> getVerbose() {

View File

@@ -34,7 +34,7 @@ public final class SystemOutLogger extends Log.Logger {
}
@Override
public void blockUntilAllWritesFinished() { }
public void flush() { }
private void printlnFormatted(char level, String tag, String message, Throwable t) {
System.out.println(format(level, tag, message, t));