console_bridge_dev  master
It is a ROS-independent, pure CMake (i.e. non-catkin and non-rosbuild package) that provides logging calls that mirror those found in rosconsole, but for applications that are not necessarily using ROS.
All Classes Namespaces Files Functions Variables Modules Pages
Public Member Functions | List of all members
console_bridge::OutputHandlerSTD Class Reference

Default implementation of OutputHandler. This sends the information to the console. More...

#include <console.h>

Inheritance diagram for console_bridge::OutputHandlerSTD:
Inheritance graph
[legend]
Collaboration diagram for console_bridge::OutputHandlerSTD:
Collaboration graph
[legend]

Public Member Functions

 OutputHandlerSTD (void)
 
virtual void log (const std::string &text, LogLevel level, const char *filename, int line)
 log a message to the output handler with the given text and logging level from a specific file and line number More...
 
- Public Member Functions inherited from console_bridge::OutputHandler
 OutputHandler (void)
 
virtual ~OutputHandler (void)
 

Detailed Description

Default implementation of OutputHandler. This sends the information to the console.

Constructor & Destructor Documentation

◆ OutputHandlerSTD()

console_bridge::OutputHandlerSTD::OutputHandlerSTD ( void  )
inline

Member Function Documentation

◆ log()

virtual void console_bridge::OutputHandlerSTD::log ( const std::string &  text,
LogLevel  level,
const char *  filename,
int  line 
)
virtual

log a message to the output handler with the given text and logging level from a specific file and line number

Parameters
textto log
levelconsole_bridge log level
filenameof the output log
line

Implements console_bridge::OutputHandler.


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