Utility: Add nullsink logger
This commit is contained in:
parent
696bce8bda
commit
041276f436
@ -38,6 +38,13 @@ public:
|
|||||||
virtual void log(const char* format, ...) = 0;
|
virtual void log(const char* format, ...) = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct NullLogSink : ILogger
|
||||||
|
{
|
||||||
|
void log(const char*, ...) override
|
||||||
|
{
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
}// namespace Utility
|
}// namespace Utility
|
||||||
|
|
||||||
#endif// SKULLC_UTILITY_ILOGGER_HPP_
|
#endif// SKULLC_UTILITY_ILOGGER_HPP_
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user