mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-07-30 19:41:24 +00:00
BriefLogFormatter: Add an initWithSilentBitcoinJ method.
This commit is contained in:
@@ -49,6 +49,11 @@ public class BriefLogFormatter extends Formatter {
|
||||
logger.log(Level.FINE, "test");
|
||||
}
|
||||
|
||||
public static void initWithSilentBitcoinJ() {
|
||||
init();
|
||||
Logger.getLogger("org.bitcoinj").setLevel(Level.SEVERE);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String format(LogRecord logRecord) {
|
||||
Object[] arguments = new Object[6];
|
||||
|
Reference in New Issue
Block a user