public void handleMessage ( String message , E_MessageType type , ST max100 , Object appID ) { this . count ++ ; boolean doMax = false ; if ( this . maxCount != - 1 && this . count > this . maxCount ) { max100 . add ( "name" , appID ) ; max100 . add ( "number" , this . maxCount ) ; doMax = true ; } if ( this . useSkbConsole == true ) { switch ( type ) { case ERROR : MessageConsole . conError ( message ) ; if ( doMax == true ) { MessageConsole . conError ( max100 . render ( ) ) ; } break ; case INFO : MessageConsole . conInfo ( message ) ; if ( doMax == true ) { MessageConsole . conError ( max100 . render ( ) ) ; } break ; case WARNING : MessageConsole . conWarn ( message ) ; if ( doMax == true ) { MessageConsole . conError ( max100 . render ( ) ) ; } break ; } } else { switch ( type ) { case ERROR : this . logger . error ( message ) ; if ( doMax == true ) { this . logger . error ( max100 . render ( ) ) ; } break ; case INFO : this . logger . info ( message ) ; if ( doMax == true ) { this . logger . error ( max100 . render ( ) ) ; } break ; case WARNING : this . logger . warn ( message ) ; if ( doMax == true ) { this . logger . error ( max100 . render ( ) ) ; } break ; } } }
Handles the message .