public static void showChannels ( Object ... channels ) { // TODO this could share more code with the other show/hide(Only)Channels methods for ( LogRecordHandler handler : handlers ) { if ( handler instanceof VisibilityHandler ) { VisibilityHandler visHandler = ( VisibilityHandler ) handler ; for ( Object channel : channels ) { visHandler . alsoShow ( channel ) ; } } } }
Show multiple channels . All other channels will be unaffected .