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 86)


	
			
Variable Summary
Method Summary
LoggerPatternParser LoggerPatternParser (string $pattern)
void addConverter (mixed $pc)
string extractOption ()
void finalizeConverter (mixed $c)
void parse ()
Variables
mixed $currentLiteral (line 89)
LoggerFormattingInfo $formattingInfo (line 106)
LoggerPatternConverter $head = null (line 96)
mixed $i (line 91)
string $pattern (line 111)
  • var: pattern to parse
mixed $patternLength (line 90)
mixed $state (line 88)
LoggerPatternConverter $tail = null (line 101)
Methods
Constructor LoggerPatternParser (line 118)

Constructor

Constructor

LoggerPatternParser LoggerPatternParser (string $pattern)
  • string $pattern
addConverter (line 409)
void addConverter (mixed $pc)
addToList (line 131)
void addToList (LoggerPatternConverter $pc)
extractOption (line 147)
string extractOption ()
extractPrecisionOption (line 164)

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 287)
void finalizeConverter (mixed $c)
parse (line 182)
void parse ()

Documentation generated on Wed, 3 Sep 2003 01:02:45 +0200 by phpDocumentor 1.2.2