SurgSim::Framework::LogMessage Class Reference
Logging API » Internal logging helpers

Specialization, handles flush on destruction. More...

`#include <SurgSim/Framework/LogMessage.h>`

Inheritance diagram for SurgSim::Framework::LogMessage:

## Public Member Functions

| LogMessage (Logger *logger, int level)
| LogMessage (const std::unique_ptr< Logger > &logger, int level)
| LogMessage (const std::shared_ptr< Logger > &logger, int level)
| ~LogMessage ()
Public Member Functions inherited from SurgSim::Framework::LogMessageBase
| LogMessageBase (Logger *logger, int level)
| Construct a LogMessage. More...
| ~LogMessageBase ()
| Destructor. More...
template<typename T >
LogMessageBase & | operator<< (T &&input)
| Add the given input to the current log message. More...
LogMessageBase & | operator<< (std::ios_base &(*manipulator)(std::ios_base &))
LogMessageBase & | operator<< (std::ostream &(*manipulator)(std::ostream &))

## Additional Inherited Members

Protected Member Functions inherited from SurgSim::Framework::LogMessageBase
std::string | getMessage ()
void | flush ()
| write the current message to the logger More...

## Detailed Description

Specialization, handles flush on destruction.

## Constructor & Destructor Documentation

## LogMessage() [1/3]

SurgSim::Framework::LogMessage::LogMessage | ( | Logger * | logger,
|  | int | level
| ) |  |

inline explicit

## LogMessage() [2/3]

SurgSim::Framework::LogMessage::LogMessage | ( | const std::unique_ptr< Logger > & | logger,
|  | int | level
| ) |  |

inline explicit

## LogMessage() [3/3]

SurgSim::Framework::LogMessage::LogMessage | ( | const std::shared_ptr< Logger > & | logger,
|  | int | level
| ) |  |

inline explicit

## ~LogMessage()

SurgSim::Framework::LogMessage::~LogMessage | ( |  | ) |

inline

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

- SurgSim/Framework/LogMessage.h