X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fnet%2Fpterodactylus%2Futil%2Flogging%2FLogging.java;h=86a4a6ff934cd0f35f2753bbf57b95de4526f039;hb=cf127faffabd3f07b0acc6de9ea746059d571b56;hp=ef8bb6a5dde14c9743d45862cf1215972843d084;hpb=09c626c3de52d507f682383002f20402ab41e1a6;p=jSite2.git diff --git a/src/net/pterodactylus/util/logging/Logging.java b/src/net/pterodactylus/util/logging/Logging.java index ef8bb6a..86a4a6f 100644 --- a/src/net/pterodactylus/util/logging/Logging.java +++ b/src/net/pterodactylus/util/logging/Logging.java @@ -36,7 +36,6 @@ import java.util.logging.Logger; * Sets up logging. * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public class Logging { @@ -83,8 +82,10 @@ public class Logging { Handler consoleHandler = new ConsoleHandler(); consoleHandler.setLevel(Level.ALL); consoleHandler.setFormatter(new Formatter() { + private StringBuffer recordBuffer = new StringBuffer(); private DateFormat dateFormatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS Z"); + /** * {@inheritDoc} */ @@ -140,7 +141,6 @@ public class Logging { * * @see LoggingListener * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ private static class LogHandler extends Handler {