The unit tests in tests/src/customlogger define an extended Level class (XLevel defined in tests/src/xml/xlevel.h and .cpp) with two additional levels (LETHAL and TRACE).
On Dec 17, 2004, at 4:38 PM, Moul, Russell G wrote:
The documentation states that you can add new levels by subclassing Level, but eludes to a better way. I didn't see the better way. I've subclassed Level and am unsure how the DECLARE_LOG4CXX_LEVEL and IMPLEMENT_LOG4CXX_LEVEL macros are used.
An example of a custom logging level would be great!
Russ
