bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
bitsim::log::detail::LogLine Class Reference

Collects one message with operator<< and writes it when it is destroyed, at the end of the statement. More...

#include <logger.h>

Public Member Functions

 LogLine (LoggerHandle *logger, Level level) noexcept
 LogLine (const LogLine &)=delete
LogLine & operator= (const LogLine &)=delete
 ~LogLine ()
template<typename T>
LogLine & operator<< (const T &value)
LogLine & operator<< (std::ostream &(*manipulator)(std::ostream &))
 For std::endl and the other manipulators.

Detailed Description

Collects one message with operator<< and writes it when it is destroyed, at the end of the statement.

Constructor & Destructor Documentation

◆ LogLine() [1/2]

bitsim::log::detail::LogLine::LogLine ( LoggerHandle * logger,
Level level )
inlinenoexcept

◆ LogLine() [2/2]

bitsim::log::detail::LogLine::LogLine ( const LogLine & )
delete

◆ ~LogLine()

bitsim::log::detail::LogLine::~LogLine ( )
inline

Member Function Documentation

◆ operator<<() [1/2]

template<typename T>
LogLine & bitsim::log::detail::LogLine::operator<< ( const T & value)
inline

◆ operator<<() [2/2]

LogLine & bitsim::log::detail::LogLine::operator<< ( std::ostream &(* manipulator )(std::ostream &))
inline

For std::endl and the other manipulators.

◆ operator=()

LogLine & bitsim::log::detail::LogLine::operator= ( const LogLine & )
delete

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