MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / getLogMarker

Function getLogMarker

src/misc/string_writer.cpp:197–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195 }
196
197 const char * getLogMarker(int level)
198 {
199 if ( level >= LogLevel::error )
200 return "[E] ";
201 else if ( level >= LogLevel::warning )
202 return "[W] ";
203 else if ( level >= LogLevel::info )
204 return "[I] ";
205 else
206 return "";
207 }
208
209 void LOG::output() {
210 auto newPos = tellp();

Callers 2

outputMethod · 0.85
to_outMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected