struct mrpt::system::COutputLoggerStreamWrapper

Overview

For use in MRPT_LOG_DEBUG_STREAM(), etc.

#include <mrpt/system/COutputLogger.h>

struct COutputLoggerStreamWrapper
{
    // construction

    COutputLoggerStreamWrapper(
        VerbosityLevel level,
        const COutputLogger& logger
        );

    // methods

    template <typename T>
    std::stringstream& operator << (const T& val);

    std::stringstream& operator << (const std::stringstream& val);
};