#include <console_bridge/console.h>
#include <sstream>
Go to the source code of this file.
|
#define | LOG(args) { std::stringstream sstr; sstr << "LOG: " << args; roscanopen_log_deprecated(sstr.str(), __FILE__, __LINE__); } |
|
#define | ROSCANOPEN_DEBUG(name, args) ROSCANOPEN_LOG(name, __FILE__, __LINE__,console_bridge::CONSOLE_BRIDGE_LOG_DEBUG, args) |
|
#define | ROSCANOPEN_ERROR(name, args) ROSCANOPEN_LOG(name, __FILE__, __LINE__, console_bridge::CONSOLE_BRIDGE_LOG_ERROR, args) |
|
#define | ROSCANOPEN_INFO(name, args) ROSCANOPEN_LOG(name, __FILE__, __LINE__, console_bridge::CONSOLE_BRIDGE_LOG_INFO, args) |
|
#define | ROSCANOPEN_LOG(name, file, line, level, args) { std::stringstream sstr; sstr << name << ": " << args; console_bridge::getOutputHandler()->log(sstr.str(), level, file, line); } |
|
#define | ROSCANOPEN_WARN(name, args) ROSCANOPEN_LOG(name, __FILE__, __LINE__, console_bridge::CONSOLE_BRIDGE_LOG_WARN, args) |
|
|
| __attribute__ ((deprecated("please use ROSCANOPEN_* macros"))) void roscanopen_log_deprecated(const std |
|
◆ LOG
#define LOG |
( |
|
args | ) |
{ std::stringstream sstr; sstr << "LOG: " << args; roscanopen_log_deprecated(sstr.str(), __FILE__, __LINE__); } |
◆ ROSCANOPEN_DEBUG
#define ROSCANOPEN_DEBUG |
( |
|
name, |
|
|
|
args |
|
) |
| ROSCANOPEN_LOG(name, __FILE__, __LINE__,console_bridge::CONSOLE_BRIDGE_LOG_DEBUG, args) |
◆ ROSCANOPEN_ERROR
#define ROSCANOPEN_ERROR |
( |
|
name, |
|
|
|
args |
|
) |
| ROSCANOPEN_LOG(name, __FILE__, __LINE__, console_bridge::CONSOLE_BRIDGE_LOG_ERROR, args) |
◆ ROSCANOPEN_INFO
#define ROSCANOPEN_INFO |
( |
|
name, |
|
|
|
args |
|
) |
| ROSCANOPEN_LOG(name, __FILE__, __LINE__, console_bridge::CONSOLE_BRIDGE_LOG_INFO, args) |
◆ ROSCANOPEN_LOG
#define ROSCANOPEN_LOG |
( |
|
name, |
|
|
|
file, |
|
|
|
line, |
|
|
|
level, |
|
|
|
args |
|
) |
| { std::stringstream sstr; sstr << name << ": " << args; console_bridge::getOutputHandler()->log(sstr.str(), level, file, line); } |
◆ ROSCANOPEN_WARN
#define ROSCANOPEN_WARN |
( |
|
name, |
|
|
|
args |
|
) |
| ROSCANOPEN_LOG(name, __FILE__, __LINE__, console_bridge::CONSOLE_BRIDGE_LOG_WARN, args) |
◆ __attribute__()
__attribute__ |
( |
(deprecated("please use ROSCANOPEN_* macros")) |
| ) |
const |
|
inline |