private void dispatch ( final ProcessingMessage message ) throws ProcessingException { final LogLevel level = message . getLogLevel ( ) ; if ( level . compareTo ( exceptionThreshold ) >= 0 ) throw message . asException ( ) ; if ( level . compareTo ( currentLevel ) > 0 ) currentLevel = level ; if ( level . compareTo ( logLevel ) >= 0 ) log ( message ) ; }
Main dispatch method