Apache Log4cxx  Version 2.0.0
Loading...
Searching...
No Matches
log4cxx::pattern::PatternParser Class Reference

Most of the work of the PatternLayout class is delegated to the PatternParser class. More...

#include <patternparser.h>

Static Public Member Functions

static PatternConverterList parse (const LogString &pattern, const PatternMap &rules)
 Convert pattern to converters using rules.

Detailed Description

Most of the work of the PatternLayout class is delegated to the PatternParser class.

It is this class that parses conversion patterns and creates a chained list of PatternConverters.

Member Function Documentation

◆ parse()

PatternConverterList log4cxx::pattern::PatternParser::parse ( const LogString & pattern,
const PatternMap & rules )
static

Convert pattern to converters using rules.

Parameters
patterna string specifying the conversion types and their properties.
rulesa map of stock pattern converters keyed by name.

The documentation for this class was generated from the following file: