@brief Writes nothing - Used when certain log is disabled
| 3210 | }; |
| 3211 | /// @brief Writes nothing - Used when certain log is disabled |
| 3212 | class NullWriter : base::NoCopy { |
| 3213 | public: |
| 3214 | NullWriter(void) {} |
| 3215 | |
| 3216 | // Null manipulator |
| 3217 | inline NullWriter& operator<<(std::ostream& (*)(std::ostream&)) { |
| 3218 | return *this; |
| 3219 | } |
| 3220 | |
| 3221 | template <typename T> |
| 3222 | inline NullWriter& operator<<(const T&) { |
| 3223 | return *this; |
| 3224 | } |
| 3225 | |
| 3226 | inline operator bool() { |
| 3227 | return true; |
| 3228 | } |
| 3229 | }; |
| 3230 | /// @brief Main entry point of each logging |
| 3231 | class Writer : base::NoCopy { |
| 3232 | public: |
nothing calls this directly
no outgoing calls
no test coverage detected