Package org.bitcoinj.utils
Class BriefLogFormatter
- java.lang.Object
-
- java.util.logging.Formatter
-
- org.bitcoinj.utils.BriefLogFormatter
-
public class BriefLogFormatter extends java.util.logging.Formatter
A Java logging formatter that writes more compact output than the default.
-
-
Constructor Summary
Constructors Constructor Description BriefLogFormatter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
format(java.util.logging.LogRecord logRecord)
static void
init()
static void
init(java.util.logging.Level level)
Configures JDK logging to use this class for everything.static void
initVerbose()
static void
initWithSilentBitcoinJ()
-
-
-
Method Detail
-
init
public static void init()
-
init
public static void init(java.util.logging.Level level)
Configures JDK logging to use this class for everything.
-
initVerbose
public static void initVerbose()
-
initWithSilentBitcoinJ
public static void initWithSilentBitcoinJ()
-
format
public java.lang.String format(java.util.logging.LogRecord logRecord)
- Specified by:
format
in classjava.util.logging.Formatter
-
-