Utility: Add nullsink logger

This commit is contained in:
Erki 2021-09-19 15:39:21 +03:00
parent 696bce8bda
commit 041276f436

View File

@ -38,6 +38,13 @@ public:
virtual void log(const char* format, ...) = 0;
};
struct NullLogSink : ILogger
{
void log(const char*, ...) override
{
}
};
}// namespace Utility
#endif// SKULLC_UTILITY_ILOGGER_HPP_