mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-07 06:44:16 +00:00
BriefLogFormatter: Add an initWithSilentBitcoinJ method.
This commit is contained in:
parent
d7118d524e
commit
b069ffd312
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user