original_string: public function useFileLogger(string $dir): self
      {
          $this->setLogger(new \BearFramework\App\FileLogger($dir));
          return $this;
      }
code: public function useFileLogger(string $dir): self
      {
          $this->setLogger(new \BearFramework\App\FileLogger($dir));
          return $this;
      }
code_tokens: public function useFileLogger ( string $ dir ) : self { $ this -> setLogger ( new \ BearFramework \ App \ FileLogger ( $ dir ) ) ; return $ this ; }
docstring: Enables a file logger for directory specified.
  
  @param string $dir The directory where the logs will be stored.
  @return self Returns a reference to itself.
docstring_tokens: Enables a file logger for directory specified .