Tomographer
v1.0a
Tomographer C++ Framework Documentation
|
Traits template struct to be specialized for specific Logger implementations. More...
#include <tomographer/tools/loggers.h>
Traits template struct to be specialized for specific Logger implementations.
It is mandatory to specialize the logger traits for your class. This is simply to ease debugging: this way you know your traits are being seen (e.g. declared in the right namespace, etc.).
Your specialized traits should inherit from DefaultLoggerTraits. That way, if future traits are added you get the defaults for free and your code still compiles.