Apache Log4cxx  Version 1.2.0
Loading...
Searching...
No Matches
log4cxx::pattern Namespace Reference

Classes

class  CachedDateFormat
 
class  ClassNamePatternConverter
 Formats the class name of the site of the logging request. More...
 
class  ColorEndPatternConverter
 Format the event's color end information. More...
 
class  ColorStartPatternConverter
 Format the event's color start information. More...
 
class  DatePatternConverter
 Convert and format a date or timestamp into a string. More...
 
class  FileDatePatternConverter
 Formats an date by delegating to DatePatternConverter. More...
 
class  FileLocationPatternConverter
 Return the event's line location information in a StringBuffer. More...
 
class  FormattingInfo
 Modifies the output of a pattern converter for a specified minimum and maximum width and alignment. More...
 
class  FullLocationPatternConverter
 Format the event's line location information. More...
 
class  IntegerPatternConverter
 Formats an integer. More...
 
class  LevelPatternConverter
 Return the event's level in a StringBuffer. More...
 
class  LineLocationPatternConverter
 Format the event's line location information. More...
 
class  LineSeparatorPatternConverter
 Formats a line separator. More...
 
class  LiteralPatternConverter
 Formats a string literal. More...
 
class  LoggerPatternConverter
 Formats a logger name. More...
 
class  LoggingEventPatternConverter
 LoggingEventPatternConverter is a base class for pattern converters that can format information from instances of LoggingEvent. More...
 
class  MDCPatternConverter
 Provides all key value pairs in JSON or a single value from an event's mapped diagnostic context. More...
 
class  MessagePatternConverter
 Formats the message of an logging event. More...
 
class  MethodLocationPatternConverter
 Return the event's line location information in a StringBuffer. More...
 
class  NameAbbreviator
 NameAbbreviator generates abbreviated logger and class names. More...
 
class  NamePatternConverter
 Base class for other pattern converters which can return only parts of their name. More...
 
class  NDCPatternConverter
 Return the event's NDC in a StringBuffer. More...
 
class  PatternConverter
 
class  PatternParser
 Most of the work of the PatternLayout class is delegated to the PatternParser class. More...
 
class  PropertiesPatternConverter
 Able to handle the contents of the LoggingEvent's Property bundle and either output the entire contents of the properties in a similar format to the java.util.Hashtable.toString(), or to output the value of a specific key within the property bundle when this pattern converter has the option set. More...
 
class  RelativeTimePatternConverter
 Format the relative time in milliseconds. More...
 
class  ShortFileLocationPatternConverter
 Return the event's line location information in a StringBuffer. More...
 
class  ThreadPatternConverter
 Formats the event thread name. More...
 
class  ThreadUsernamePatternConverter
 
class  ThrowableInformationPatternConverter
 Outputs the ThrowableInformation portion of the LoggingiEvent as a full stacktrace unless this converter's option is 'short', where it just outputs the first line of the trace. More...
 

Typedefs

typedef std::shared_ptr< FormattingInfoFormattingInfoPtr
 
typedef std::vector< LogStringOptionsList
 
typedef std::function< PatternConverterPtr(const std::vector< LogString > &options)> PatternConstructor
 
typedef std::map< LogString, PatternConstructorPatternMap
 

Functions

 LOG4CXX_PTR_DEF (DatePatternConverter)
 
 LOG4CXX_PTR_DEF (FormattingInfo)
 
 LOG4CXX_PTR_DEF (IntegerPatternConverter)
 
 LOG4CXX_PTR_DEF (LoggingEventPatternConverter)
 
 LOG4CXX_PTR_DEF (NameAbbreviator)
 
 LOG4CXX_PTR_DEF (PatternConverter)
 

Typedef Documentation

◆ FormattingInfoPtr

◆ OptionsList

◆ PatternConstructor

typedef std::function<PatternConverterPtr(const std::vector<LogString>& options)> log4cxx::pattern::PatternConstructor

◆ PatternMap

Function Documentation

◆ LOG4CXX_PTR_DEF() [1/6]

log4cxx::pattern::LOG4CXX_PTR_DEF ( DatePatternConverter  )

◆ LOG4CXX_PTR_DEF() [2/6]

log4cxx::pattern::LOG4CXX_PTR_DEF ( FormattingInfo  )

◆ LOG4CXX_PTR_DEF() [3/6]

log4cxx::pattern::LOG4CXX_PTR_DEF ( IntegerPatternConverter  )

◆ LOG4CXX_PTR_DEF() [4/6]

log4cxx::pattern::LOG4CXX_PTR_DEF ( LoggingEventPatternConverter  )

◆ LOG4CXX_PTR_DEF() [5/6]

log4cxx::pattern::LOG4CXX_PTR_DEF ( NameAbbreviator  )

◆ LOG4CXX_PTR_DEF() [6/6]

log4cxx::pattern::LOG4CXX_PTR_DEF ( PatternConverter  )