original_string: public function add_logger(base_logger $logger) {
          $existing = $this->logger;
          while ($existing->get_next()) {
              $existing = $existing->get_next();
          }
          $existing->set_next($logger);
      }
code: public function add_logger(base_logger $logger) {
          $existing = $this->logger;
          while ($existing->get_next()) {
              $existing = $existing->get_next();
          }
          $existing->set_next($logger);
      }
code_tokens: public function add_logger ( base_logger $ logger ) { $ existing = $ this -> logger ; while ( $ existing -> get_next ( ) ) { $ existing = $ existing -> get_next ( ) ; } $ existing -> set_next ( $ logger ) ; }
docstring: Inserts a new logger at end of logging chain.
  
  @param base_logger $logger New logger to add
docstring_tokens: Inserts a new logger at end of logging chain .