console_bridge
Enumerations | Functions
console_bridge Namespace Reference

Message namespace. This contains classes needed to output error messages (or logging) from within the library. Message logging can be performed with logging macros. More...

Enumerations

enum  LogLevel {
  CONSOLE_BRIDGE_LOG_DEBUG = 0, CONSOLE_BRIDGE_LOG_INFO, CONSOLE_BRIDGE_LOG_WARN, CONSOLE_BRIDGE_LOG_ERROR,
  CONSOLE_BRIDGE_LOG_NONE
}
 The set of priorities for message logging. More...
 

Functions

void setLogLevel (LogLevel level)
 Set the minimum level of logging data to output. Messages with lower logging levels will not be recorded. More...
 
LogLevel getLogLevel (void)
 Retrieve the current level of logging data. Messages with lower logging levels will not be recorded. More...
 

Detailed Description

Message namespace. This contains classes needed to output error messages (or logging) from within the library. Message logging can be performed with logging macros.

Enumeration Type Documentation

◆ LogLevel

The set of priorities for message logging.

Enumerator
CONSOLE_BRIDGE_LOG_DEBUG 
CONSOLE_BRIDGE_LOG_INFO 
CONSOLE_BRIDGE_LOG_WARN 
CONSOLE_BRIDGE_LOG_ERROR 
CONSOLE_BRIDGE_LOG_NONE 

Function Documentation

◆ getLogLevel()

LogLevel console_bridge::getLogLevel ( void  )
inline

Retrieve the current level of logging data. Messages with lower logging levels will not be recorded.

◆ setLogLevel()

void console_bridge::setLogLevel ( LogLevel  level)
inline

Set the minimum level of logging data to output. Messages with lower logging levels will not be recorded.