public boolean addCustomLogger(Logger logger)
  {
    if (logger.getClass().getName().startsWith("java"))
      return false;
    
    Logger oldLogger = _localLoggers.get();

    if (oldLogger != null)
      return false;

    _localLoggers.set(logger);
    
    if (_parent != null) {
      logger.setParent(_parent);
    }

    return true;
  }
public boolean addCustomLogger ( Logger logger ) { if ( logger . getClass ( ) . getName ( ) . startsWith ( "java" ) ) return false ; Logger oldLogger = _localLoggers . get ( ) ; if ( oldLogger != null ) return false ; _localLoggers . set ( logger ) ; if ( _parent != null ) { logger . setParent ( _parent ) ; } return true ; }
Sets a custom logger if possible