public void callAppenders ( ILoggingEvent event ) { int writes = 0 ; for ( Logger l = this ; l != null ; l = l . parent ) { writes += l . appendLoopOnAppenders ( event ) ; if ( ! l . additive ) { break ; } } // No appenders in hierarchy if ( writes == 0 ) { loggerContext . noAppenderDefinedWarning ( this ) ; } }
Invoke all the appenders of this logger .