I am using this formatter to log severity `boost::log::formatters::attr< LogLevel >("Severity")`
I don;t like an int being printed but instead i want to map this on a string.
so I have tried to implement a `basic_custom_mapping` to do this but i have some troubles.
Can someone help with a little example ?
Simply define operator<< for your LogLevel enum and make sure it's visible from where you setup the formatter.
BTW, you can find this in several examples with the library, basic_usage for instance.
thanks a lot. I have missed that example.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.