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