private void executeMask ( final LogMsgGroup group ) { if ( masker != null ) { if ( group . getMsgs ( ) . size ( ) > 0 ) { for ( LogMsg logMsg : group . getMsgs ( ) ) { if ( logMsg . getEx ( ) != null ) { executeMask ( logMsg . getEx ( ) . getError ( ) ) ; } logMsg . setData ( masker . mask ( logMsg . getData ( ) ) ) ; logMsg . setMsg ( masker . mask ( logMsg . getMsg ( ) ) ) ; } } } }
Applies masking to passed in LogMsgGroup .