public class SLF4JSilencer extends Object
SLF4J.silence();
before
any logger is initialised - ideally as first instruction in your main. If the
default behaviour becomes useful, SLF4J.deSilence();
will restore
things.Constructor and Description |
---|
SLF4JSilencer() |
Modifier and Type | Method and Description |
---|---|
static void |
deSilence()
Restore regular behaviour.
|
static void |
silence()
Silence SLF4J warnings.
|
Copyright © 2020 The University of Manchester. All rights reserved.