Immersitech Logo Developer Home
 
Loading...
Searching...
No Matches
immersitech_logger.h File Reference
#include <string>
#include <mutex>

Go to the source code of this file.

Classes

class  imm_logger_handler
 Default Immersitech logger handler. More...
 
class  imm_logger
 Logger class. More...
 

Macros

#define IMM_LOGGER_H_
 
#define IMMERSITECH_LOGGER_API
 
#define IMM_LOGGER   imm_logger::get_logger()
 

Enumerations

enum  imm_log_level {
  IMM_LOG_VERBOSE , IMM_LOG_DEBUG , IMM_LOG_INFO , IMM_LOG_WARNING ,
  IMM_LOG_ERROR
}
 Log level definition. More...
 

Macro Definition Documentation

◆ IMM_LOGGER

#define IMM_LOGGER   imm_logger::get_logger()

◆ IMM_LOGGER_H_

#define IMM_LOGGER_H_

◆ IMMERSITECH_LOGGER_API

#define IMMERSITECH_LOGGER_API

Enumeration Type Documentation

◆ imm_log_level

Log level definition.

A message written to the log can have one of these levels of severity

Enumerator
IMM_LOG_VERBOSE 

This level is used for anything, no matter how unimportant.

IMM_LOG_DEBUG 

This level should be used only during a debugging session. It should print information that is helpful to the debugging process.

IMM_LOG_INFO 

This level can be used to print generic information. For example, a participant was added to a room.

IMM_LOG_WARNING 

This level should be used for something that happened that could lead to an error or unexpected behavior.

IMM_LOG_ERROR 

This level is exclusively for critical errors that have affected functionality.