class ugcs::vsm::Log::Platform_logger¶
Overview¶
Platform-specific logging handler. More…
#include <log.h> class Platform_logger { public: // construction Platform_logger(Log& log); // methods static std::unique_ptr<Platform_logger> Create(Log& log); virtual void Write_message(Level level, const char* msg, std::va_list args) = 0; };
Detailed Documentation¶
Platform-specific logging handler.
Construction¶
Platform_logger(Log& log)
Construct platform logger to work with abstract logger.
Methods¶
static std::unique_ptr<Platform_logger> Create(Log& log)
Create unique instance.
virtual void Write_message(Level level, const char* msg, std::va_list args) = 0
Write formatted message.