boost::logging::formatter::convert Namespace Reference

Allows format convertions - In case you're using a formatter that does not match your string type. More...


Namespaces

namespace  prepend


Detailed Description

Allows format convertions - In case you're using a formatter that does not match your string type.

In case you want to use a formatter developed by someone else (for instance, a formatter provided by this lib), perhaps you're using another type of string to hold the message - thus, you need to provide a conversion function

Example: FIXME

--> convert_format::prepend

explain that you can extend the following - since they're namespaces!!! so that you can "inject" your own write function in the convert_format::prepend/orwhatever namespace, and then it'll be automatically used!



Copyright John Torjo © 2007
Have a question/ suggestion/ comment? Send me feedback