| 3895 | }; |
| 3896 | /// @brief Removes flag and add it when scope goes out |
| 3897 | class ScopedRemoveFlag { |
| 3898 | public: |
| 3899 | ScopedRemoveFlag(LoggingFlag flag) : m_flag(flag) { |
| 3900 | Loggers::removeFlag(m_flag); |
| 3901 | } |
| 3902 | ~ScopedRemoveFlag(void) { |
| 3903 | Loggers::addFlag(m_flag); |
| 3904 | } |
| 3905 | private: |
| 3906 | LoggingFlag m_flag; |
| 3907 | }; |
| 3908 | /// @brief Sets hierarchy for logging. Needs to enable logging flag (HierarchicalLogging) |
| 3909 | static void setLoggingLevel(Level level) { |
| 3910 | ELPP->setLoggingLevel(level); |
nothing calls this directly
no outgoing calls
no test coverage detected