13
0
geforkt von Mirrors/Paper

Use standard format function to format logs. Addresses BUKKIT-2246

Also fix "excess" Log Levels.

By: EdGruberman <ed@rjump.com>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2012-08-11 16:29:50 -07:00
Ursprung ae2357b96e
Commit 9c8b353591

Datei anzeigen

@ -46,7 +46,7 @@ public class ShortConsoleLogFormatter extends Formatter {
builder.append(" ["); builder.append(" [");
builder.append(record.getLevel().getLocalizedName().toUpperCase()); builder.append(record.getLevel().getLocalizedName().toUpperCase());
builder.append("] "); builder.append("] ");
builder.append(record.getMessage()); builder.append(formatMessage(record));
builder.append('\n'); builder.append('\n');
if (ex != null) { if (ex != null) {