Class LoggerPatternParser

Description

Most of the work of the LoggerPatternLayout class is delegated to the LoggerPatternParser class.

Most of the work of the LoggerPatternLayout class is delegated to the LoggerPatternParser class. It is this class that parses conversion patterns and creates a chained list of LoggerPatternConverter converters.

Located in Program_Root/log4php/helpers/LoggerPatternParser.php (line 84)


	
			
Variable Summary
Method Summary
LoggerPatternParser LoggerPatternParser (string $pattern)
void addConverter (mixed $pc)
string extractOption ()
void finalizeConverter (mixed $c)
void parse ()
Variables
mixed $currentLiteral (line 87)
LoggerFormattingInfo $formattingInfo (line 104)
LoggerPatternConverter $head = null (line 94)
mixed $i (line 89)
string $pattern (line 109)
  • var: pattern to parse
mixed $patternLength (line 88)
mixed $state (line 86)
LoggerPatternConverter $tail = null (line 99)
Methods
Constructor LoggerPatternParser (line 116)

Constructor

Constructor

LoggerPatternParser LoggerPatternParser (string $pattern)
  • string $pattern
addConverter (line 407)
void addConverter (mixed $pc)
addToList (line 129)
void addToList (LoggerPatternConverter $pc)
extractOption (line 145)
string extractOption ()
extractPrecisionOption (line 162)

The option is expected to be in decimal and positive. error, zero is returned.

The option is expected to be in decimal and positive. In case of error, zero is returned.

void extractPrecisionOption ()
finalizeConverter (line 285)
void finalizeConverter (mixed $c)
parse (line 180)
void parse ()

Documentation generated on Wed, 24 Sep 2003 20:07:44 +0200 by phpDocumentor 1.2.2