| 89 | } |
| 90 | |
| 91 | void LogStream::setLevel(std::string level) |
| 92 | { |
| 93 | if (rdbuf() == nullptr) |
| 94 | { |
| 95 | return; |
| 96 | } |
| 97 | |
| 98 | // set the new level |
| 99 | rdbuf()->level_ = std::move(level); |
| 100 | } |
| 101 | |
| 102 | std::string LogStream::getLevel() |
| 103 | { |
no outgoing calls
no test coverage detected