Overview

Packages

  • log4php
    • appenders
    • configurators
    • filters
    • helpers
    • layouts
    • pattern
    • renderers

Classes

  • LoggerFormattingInfo
  • LoggerOptionConverter
  • LoggerPatternConverter
  • LoggerPatternParser
  • LoggerUtils
  • Overview
  • Package
  • Class
  • Tree

Class LoggerPatternParser

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.

Package: log4php\helpers
Version: $Revision: 1395467 $
Since: 0.3
Located at helpers/LoggerPatternParser.php
Methods summary
public
# __construct( mixed $pattern, mixed $converterMap )
public LoggerPatternConverter
# parse( )

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

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

Returns

LoggerPatternConverter
Constants summary
string ESCAPE_CHAR '%'
#

Escape character for conversion words in the conversion pattern.

Escape character for conversion words in the conversion pattern.

Apache log4php API documentation generated by ApiGen 2.8.0