VSM C++ SDK
Vehicle Specific Modules SDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ugcs::vsm::Log::Platform_logger Class Referenceabstract

Platform-specific logging handler. More...

#include <log.h>

Public Member Functions

 Platform_logger (Log &log)
 Construct platform logger to work with abstract logger. More...
 
virtual void Write_message (Level level, const char *msg, std::va_list args)=0
 Write formatted message. More...
 

Static Public Member Functions

static std::unique_ptr
< Platform_logger
Create (Log &log)
 Create unique instance. More...
 

Protected Attributes

Loglog
 Reference to abstract logger. More...
 

Detailed Description

Platform-specific logging handler.

Constructor & Destructor Documentation

ugcs::vsm::Log::Platform_logger::Platform_logger ( Log log)
inline

Construct platform logger to work with abstract logger.

Member Function Documentation

static std::unique_ptr<Platform_logger> ugcs::vsm::Log::Platform_logger::Create ( Log log)
static

Create unique instance.

virtual void ugcs::vsm::Log::Platform_logger::Write_message ( Level  level,
const char *  msg,
std::va_list  args 
)
pure virtual

Write formatted message.

Member Data Documentation

Log& ugcs::vsm::Log::Platform_logger::log
protected

Reference to abstract logger.


The documentation for this class was generated from the following file: