public synchronized static void silenceLogging ( ) { if ( SplitlogLoggerFactory . state == SplitlogLoggingState . OFF ) { return ; } SplitlogLoggerFactory . state = SplitlogLoggingState . OFF ; SplitlogLoggerFactory . messageCounter . set ( 0 ) ; /* * intentionally using the original logger so that this message can not * be silenced */ LoggerFactory . getLogger ( SplitlogLoggerFactory . class ) . info ( "Forcibly disabled Splitlog's internal logging." ) ; }
Force Splitlog s internal logging to be disabled .