original_string: public function getCurrentLogFilePath()
      {
          $rotateTimeMark = "";
          if ($this->rotateTimeFormat !== null) {
              $rotateTimeMark .= "-" . date($this->rotateTimeFormat);
          }
  
          if (is_callable($this->prefix)) {
              $prefix = call_user_func_array($this->prefix, []);
              // not check prefix here, let user ensure this correctness
          } else {
              $prefix = $this->prefix;
          }
          return $this->targetLogDir . '/log' . (empty($this->prefix) ? '' : "-" . $prefix) . $rotateTimeMark . '.log';
      }
code: public function getCurrentLogFilePath()
      {
          $rotateTimeMark = "";
          if ($this->rotateTimeFormat !== null) {
              $rotateTimeMark .= "-" . date($this->rotateTimeFormat);
          }
  
          if (is_callable($this->prefix)) {
              $prefix = call_user_func_array($this->prefix, []);
              // not check prefix here, let user ensure this correctness
          } else {
              $prefix = $this->prefix;
          }
          return $this->targetLogDir . '/log' . (empty($this->prefix) ? '' : "-" . $prefix) . $rotateTimeMark . '.log';
      }
code_tokens: public function getCurrentLogFilePath ( ) { $ rotateTimeMark = "" ; if ( $ this -> rotateTimeFormat !== null ) { $ rotateTimeMark .= "-" . date ( $ this -> rotateTimeFormat ) ; } if ( is_callable ( $ this -> prefix ) ) { $ prefix = call_user_func_array ( $ this -> prefix , [ ] ) ; // not check prefix here, let user ensure this correctness } else { $ prefix = $ this -> prefix ; } return $ this -> targetLogDir . '/log' . ( empty ( $ this -> prefix ) ? '' : "-" . $ prefix ) . $ rotateTimeMark . '.log' ; }
docstring: Sometime you may need to know where the log file is
  @return string
  @since 2.2
docstring_tokens: Sometime you may need to know where the log file is