Fix color takes effect on the next line

This commit is contained in:
games647 2017-05-19 11:12:07 +02:00
parent e990efc1b1
commit a3a7442174
No known key found for this signature in database
GPG Key ID: E9E962F08F621538

View File

@ -91,7 +91,7 @@ public class ColorPluginAppender extends AbstractAppender {
pluginColor = format(pluginColor);
}
return reset + '[' + pluginColor + pluginName + reset + ']' + levelColor + message.substring(endTag + 1);
return reset + '[' + pluginColor + pluginName + reset + ']' + levelColor + message.substring(endTag + 1) + reset;
}
private String format(String pluginFormat) {