OpenVDB: ColoredPatternLayout Class Reference

OpenVDB 4.0.2

Public Types | Public Member Functions | Static Public Member Functions | List of all members
ColoredPatternLayout Class Reference

log4cplus layout that outputs text in different colors for different log levels, using ANSI escape codes More...

`#include <logging.h>`

Inherits PatternLayout.

## Public Types
using | Ptr = std::auto_ptr< log4cplus::Layout >

## Public Member Functions
| ColoredPatternLayout (const std::string &progName_, bool useColor=true)
| ~ColoredPatternLayout () override
const std::string & | progName () const
void | formatAndAppend (log4cplus::tostream &strm, const log4cplus::spi::InternalLoggingEvent &event) override

## Static Public Member Functions
static Ptr | create (const std::string &progName_, bool useColor=true)

## Detailed Description

log4cplus layout that outputs text in different colors for different log levels, using ANSI escape codes

## Member Typedef Documentation

## ◆ Ptr

using Ptr = std::auto_ptr<log4cplus::Layout>

## Constructor & Destructor Documentation

## ◆ ColoredPatternLayout()

ColoredPatternLayout | ( | const std::string & | progName_,
|  | bool | useColor = `true`
| ) |  |
| inlineexplicit

## ◆ ~ColoredPatternLayout()

~ColoredPatternLayout | ( |  | ) |
| inlineoverride

## Member Function Documentation

## ◆ 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:

- logging.h