| 335 | #endif |
| 336 | |
| 337 | Level toLevel(std::string_view value) |
| 338 | { |
| 339 | if (value == "ERROR") |
| 340 | return Error; |
| 341 | if (value == "WARNING") |
| 342 | return Warning; |
| 343 | if (value == "INFO") |
| 344 | return Info; |
| 345 | if (value == "VERBOSE") |
| 346 | return Verbose; |
| 347 | if (value == "DEBUG") |
| 348 | return Debug; |
| 349 | |
| 350 | return Verbose; |
| 351 | } |
| 352 | |
| 353 | static std::unique_ptr<std::ostream> rawStdout = nullptr; |
| 354 | static std::unique_ptr<std::ostream> rawStderr = nullptr; |
no outgoing calls
no test coverage detected