public static void showOnlyChannels ( Object ... channels ) { for ( LogRecordHandler handler : handlers ) { if ( handler instanceof VisibilityHandler ) { VisibilityHandler visHandler = ( VisibilityHandler ) handler ; visHandler . hideAll ( ) ; for ( Object channel : channels ) { visHandler . alsoShow ( channel ) ; } } } }
Show only the given channel .