MCPcopy Create free account
hub / github.com/OpenMW/openmw / getColor

Function getColor

components/debug/debugging.cpp:213–231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211 std::deque<Record> globalBuffer;
212
213 Color getColor(Level level)
214 {
215 switch (level)
216 {
217 case Error:
218 return Red;
219 case Warning:
220 return Yellow;
221 case Info:
222 return Reset;
223 case Verbose:
224 return DarkGray;
225 case Debug:
226 return DarkGray;
227 case All:
228 return Reset;
229 }
230 return Reset;
231 }
232
233 bool useColoredOutput()
234 {

Callers 1

writeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected