public static void removeJavaNoOpLogger(Collection<Handler> rmvHnds){
  Logger log=Logger.getLogger("");
  for (  Handler h : log.getHandlers())   log.removeHandler(h);
  if (!F.isEmpty(rmvHnds)) {
    for (    Handler h : rmvHnds)     log.addHandler(h);
  }
}

public static void removeJavaNoOpLogger ( Collection < Handler > rmvHnds ) { Logger log = Logger . getLogger ( "" ) ; for ( Handler h : log . getHandlers ( ) ) log . removeHandler ( h ) ; if ( ! F . isEmpty ( rmvHnds ) ) { for ( Handler h : rmvHnds ) log . addHandler ( h ) ; } }
removes previously added no - op handler for root java logger .
