log4cplus layout that outputs text in different colors for different log levels, using ANSI escape codes
More...
#include <logging.h>
Inherits PatternLayout.
|
using | Ptr = std::auto_ptr< log4cplus::Layout > |
|
|
static Ptr | create (const std::string &progName_, bool useColor=true) |
|
log4cplus layout that outputs text in different colors for different log levels, using ANSI escape codes
◆ Ptr
using Ptr = std::auto_ptr<log4cplus::Layout> |
◆ ColoredPatternLayout()
◆ ~ColoredPatternLayout()
◆ create()
static Ptr create |
( |
const std::string & |
progName_, |
|
|
bool |
useColor = true |
|
) |
| |
|
inlinestatic |
◆ formatAndAppend()
void formatAndAppend |
( |
log4cplus::tostream & |
strm, |
|
|
const log4cplus::spi::InternalLoggingEvent & |
event |
|
) |
| |
|
inlineoverride |
◆ progName()
const std::string& progName |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: