MCPcopy Create free account
hub / github.com/cginternals/globjects / toString

Method toString

source/globjects/source/DebugMessage.cpp:73–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73std::string DebugMessage::toString() const
74{
75 std::stringstream stream;
76
77 stream
78 << typeString()
79 << ": " << std::hex << "0x" << m_id << std::dec
80 << ", " << severityString() << " severity"
81 << " (" << sourceString() << ")"
82 << std::endl
83 << "\t" << m_message;
84
85 return stream.str();
86}
87
88std::string DebugMessage::severityString() const
89{

Callers 2

operator<<Function · 0.80

Calls 1

strMethod · 0.80

Tested by

no test coverage detected