MCPcopy Create free account
hub / github.com/DragonJoker/RenderGraph / DebugLogStreambufTraits

Class DebugLogStreambufTraits

test/BaseTest.cpp:114–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112 };
113
114 struct DebugLogStreambufTraits
115 {
116 static void log( std::ostream & stream
117 , std::string const & text )
118 {
119 stream << "DEBUG: " << text << std::endl;
120 fmt::print( "{}\n", text );
121 }
122
123 static void logNoNL( std::ostream & stream
124 , std::string const & text )
125 {
126 stream << "DEBUG: " << text;
127 fmt::print( "{}\n", text );
128 }
129 };
130
131 struct InfoLogStreambufTraits
132 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected