MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / getOutputStream

Function getOutputStream

src/Diagnostics/src/LogTerminal.cpp:19–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17 }
18
19 static FILE* getOutputStream(Level level)
20 {
21 switch (level)
22 {
23 case Level::info:
24 case Level::warning:
25 case Level::verbose:
26 return stdout;
27 case Level::error:
28 return stderr;
29 default:
30 break;
31 }
32 return stdout;
33 }
34
35 static fmt::text_style getTextStyle(Level level)
36 {

Callers 1

printMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected