Class to output logging information to a stream that can be passed into the constructor of the class.
More...
#include <LogOutput.h>
Class to output logging information to a stream that can be passed into the constructor of the class.
§ StreamOutput()
SurgSim::Framework::StreamOutput::StreamOutput |
( |
std::ostream & |
ostream | ) |
|
|
explicit |
Constructor.
- Parameters
-
ostream | stream to be used for writing ostream parameter to be passed by non-const reference on purpose. |
§ writeMessage()
bool SurgSim::Framework::StreamOutput::writeMessage |
( |
const std::string & |
message | ) |
|
|
overridevirtual |
Writes a message to the stream.
- Parameters
-
message | Message to be written to the stream |
- Returns
- True on success
Implements SurgSim::Framework::LogOutput.
The documentation for this class was generated from the following files:
- SurgSim/Framework/LogOutput.h
- SurgSim/Framework/LogOutput.cpp