MySQL 26.7.0
Source Code Documentation
Logger_stream< level, error_code > Class Template Reference

Logger utility supporting streaming operator. More...

#include <logger_stream.h>

Public Types

using Stream = std::stringstream
 

Public Member Functions

Streamget_stream ()
 Gets stream reference Stream reference. More...
 
void log ()
 Logs the message. More...
 

Public Attributes

std::stringstream m_stream
 

Detailed Description

template<Severity_level level, int error_code = default_error_code>
class Logger_stream< level, error_code >

Logger utility supporting streaming operator.

Member Typedef Documentation

◆ Stream

template<Severity_level level, int error_code = default_error_code>
using Logger_stream< level, error_code >::Stream = std::stringstream

Member Function Documentation

◆ get_stream()

template<Severity_level level, int error_code = default_error_code>
Stream & Logger_stream< level, error_code >::get_stream ( )
inline

Gets stream reference Stream reference.

◆ log()

template<Severity_level level, int error_code = default_error_code>
void Logger_stream< level, error_code >::log ( )
inline

Logs the message.

Member Data Documentation

◆ m_stream

template<Severity_level level, int error_code = default_error_code>
std::stringstream Logger_stream< level, error_code >::m_stream

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