Immersitech Logo Developer Home
imm_logger_handler Class Reference

Default Immersitech logger handler. More...

#include <immersitech_logger.h>

Public Member Functions

 imm_logger_handler ()
 Construct a new immersitech logger handler object. More...
 
virtual ~imm_logger_handler ()
 Destroy the immersitech logger handler object. More...
 
virtual void handle (imm_log_level level, const char *str)
 This function will process a message and post it to the appropriate log. More...
 

Detailed Description

Default Immersitech logger handler.

If you would like to expand on the logging system, you can inhert this class to implement your own behavior specific to your system.

Constructor & Destructor Documentation

◆ imm_logger_handler()

imm_logger_handler::imm_logger_handler ( )

Construct a new immersitech logger handler object.

◆ ~imm_logger_handler()

virtual imm_logger_handler::~imm_logger_handler ( )
virtual

Destroy the immersitech logger handler object.

Member Function Documentation

◆ handle()

virtual void imm_logger_handler::handle ( imm_log_level  level,
const char *  str 
)
virtual

This function will process a message and post it to the appropriate log.

If you inherit this class to make a custom logger, this is the function that will handle most of the processing.

Parameters
[in]levelThe log level which this message should be printed with
[in]strThe message that is to be logged

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