Boost C++ Libraries

PrevUpHomeNext

Global c_dec

boost::log::formatters::c_dec

Synopsis

// In header: <boost/log/formatters/c_decorator.hpp>

implementation_defined c_dec;

Description

C-style decorator generator object. The decorator replaces characters with specific meaning in C language with the corresponding escape sequences. The generator provides operator[] that can be used to construct the actual decorator. For example:

c_dec[ attr< std::string >("MyAttr") ]


PrevUpHomeNext