示例#1
0
 public function addConverter($pc)
 {
     $this->currentLiteral = '';
     // Add the pattern converter to the list.
     $this->addToList($pc);
     // Next pattern is assumed to be a literal.
     $this->state = self::LITERAL_STATE;
     // Reset formatting info
     $this->formattingInfo->reset();
 }
 function addConverter($pc)
 {
     $this->currentLiteral = '';
     // Add the pattern converter to the list.
     $this->addToList($pc);
     // Next pattern is assumed to be a literal.
     $this->state = LOG4PHP_LOGGER_PATTERN_PARSER_LITERAL_STATE;
     // Reset formatting info
     $this->formattingInfo->reset();
 }