mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-14 11:15:51 +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");
|
logger.log(Level.FINE, "test");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static void initWithSilentBitcoinJ() {
|
||||||
|
init();
|
||||||
|
Logger.getLogger("org.bitcoinj").setLevel(Level.SEVERE);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String format(LogRecord logRecord) {
|
public String format(LogRecord logRecord) {
|
||||||
Object[] arguments = new Object[6];
|
Object[] arguments = new Object[6];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user