public synchronized static boolean isLoggingEnabled ( ) { switch ( SplitlogLoggerFactory . state ) { case ON : return true ; case OFF : return false ; default : final String propertyValue = System . getProperty ( SplitlogLoggerFactory . LOGGING_PROPERTY_NAME , SplitlogLoggerFactory . OFF_STATE ) ; return propertyValue . equals ( SplitlogLoggerFactory . ON_STATE ) ; } }
Whether or not Splitlog internals will log if logging is requested at this time .