Put log tag in brackets.

This commit is contained in:
Greyson Parrelli
2020-12-11 10:00:49 -05:00
committed by Alan Evans
parent e709cdc9d5
commit fc43a0d8e9

View File

@@ -247,6 +247,6 @@ public final class PersistentLogger extends Log.Logger {
}
private String buildEntry(String level, String tag, String message, Date date) {
return logTag + ' ' + DATE_FORMAT.format(date) + ' ' + level + ' ' + tag + ": " + message;
return '[' + logTag + "] " + DATE_FORMAT.format(date) + ' ' + level + ' ' + tag + ": " + message;
}
}