hmcl.log in normal format

This commit is contained in:
huangyuhui 2018-02-14 23:42:08 +08:00
parent 3d7bc0b593
commit 8bd4f2b5b5

View File

@ -40,6 +40,7 @@ public final class Logging {
try {
FileHandler fileHandler = new FileHandler("hmcl.log");
fileHandler.setLevel(Level.FINEST);
fileHandler.setFormatter(DefaultFormatter.INSTANCE);
LOG.addHandler(fileHandler);
} catch (IOException e) {
System.err.println("Unable to create hmcl.log, " + e.getMessage());