Class LoggerPatternParser

Description

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.

  • version: $Revision: 1395467 $
  • since: 0.3

Located in /log4php/helpers/LoggerPatternParser.php (line 34)


	
			
Class Constant Summary
ESCAPE_CHAR = '%'
Method Summary
LoggerPatternParser __construct ( $pattern,  $converterMap)
Methods
Constructor __construct (line 57)
  • access: public
LoggerPatternParser __construct ( $pattern,  $converterMap)
  • $pattern
  • $converterMap
parse (line 77)

Parses the conversion pattern string, converts it to a chain of pattern converters and returns the first converter in the chain.

  • access: public
Class Constants
ESCAPE_CHAR = '%' (line 37)

Escape character for conversion words in the conversion pattern.

Documentation generated on Tue, 12 Mar 2024 14:04:55 +0900 by phpDocumentor 1.4.4