Tomographer  v1.0a
Tomographer C++ Framework Documentation
Tomographer::Logger::LoggerTraits< LoggerType > Struct Template Reference

Traits template struct to be specialized for specific Logger implementations. More...

#include <tomographer/tools/loggers.h>

+ Inheritance diagram for Tomographer::Logger::LoggerTraits< LoggerType >:

Detailed Description

template<typename LoggerType>
struct Tomographer::Logger::LoggerTraits< LoggerType >

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.

Definition at line 349 of file loggers.h.


The documentation for this struct was generated from the following file: