com.google.bitcoin.utils
Class BriefLogFormatter

java.lang.Object
  extended by java.util.logging.Formatter
      extended by com.google.bitcoin.utils.BriefLogFormatter

public class BriefLogFormatter
extends Formatter

A Java logging formatter that writes more compact output than the default.


Constructor Summary
BriefLogFormatter()
           
 
Method Summary
 String format(LogRecord logRecord)
           
static void init()
          Configures JDK logging to use this class for everything.
static void initVerbose()
           
 
Methods inherited from class java.util.logging.Formatter
formatMessage, getHead, getTail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BriefLogFormatter

public BriefLogFormatter()
Method Detail

init

public static void init()
Configures JDK logging to use this class for everything.


initVerbose

public static void initVerbose()

format

public String format(LogRecord logRecord)
Specified by:
format in class Formatter


Copyright © 2014. All rights reserved.