Namespaces | Defines | Functions
log_utils.h File Reference
#include <ros/ros.h>
#include <nodelet/nodelet.h>
Include dependency graph for log_utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  jsk_topic_tools

Defines

#define JSK_NODELET_DEBUG(str,...)
#define JSK_NODELET_DEBUG_STREAM(...)
#define JSK_NODELET_DEBUG_STREAM_THROTTLE(rate,...)
#define JSK_NODELET_DEBUG_THROTTLE(rate, str,...)
#define JSK_NODELET_ERROR(str,...)
#define JSK_NODELET_ERROR_STREAM(...)
#define JSK_NODELET_ERROR_STREAM_THROTTLE(rate,...)
#define JSK_NODELET_ERROR_THROTTLE(rate, str,...)
#define JSK_NODELET_FATAL(str,...)
#define JSK_NODELET_FATAL_STREAM(...)
#define JSK_NODELET_FATAL_STREAM_THROTTLE(rate,...)
#define JSK_NODELET_FATAL_THROTTLE(rate, str,...)
#define JSK_NODELET_INFO(str,...)
#define JSK_NODELET_INFO_STREAM(...)
#define JSK_NODELET_INFO_STREAM_THROTTLE(rate,...)
#define JSK_NODELET_INFO_THROTTLE(rate, str,...)
#define JSK_NODELET_WARN(str,...)
#define JSK_NODELET_WARN_STREAM(...)
#define JSK_NODELET_WARN_STREAM_THROTTLE(rate,...)
#define JSK_NODELET_WARN_THROTTLE(rate, str,...)
#define JSK_ROS_DEBUG(str,...)
#define JSK_ROS_DEBUG_STREAM(...)
#define JSK_ROS_DEBUG_STREAM_THROTTLE(rate,...)
#define JSK_ROS_DEBUG_THROTTLE(rate, str,...)
#define JSK_ROS_ERROR(str,...)
#define JSK_ROS_ERROR_STREAM(...)
#define JSK_ROS_ERROR_STREAM_THROTTLE(rate,...)
#define JSK_ROS_ERROR_THROTTLE(rate, str,...)
#define JSK_ROS_FATAL(str,...)
#define JSK_ROS_FATAL_STREAM(...)
#define JSK_ROS_FATAL_STREAM_THROTTLE(rate,...)
#define JSK_ROS_FATAL_THROTTLE(rate, str,...)
#define JSK_ROS_INFO(str,...)
#define JSK_ROS_INFO_STREAM(...)
#define JSK_ROS_INFO_STREAM_THROTTLE(rate,...)
#define JSK_ROS_INFO_THROTTLE(rate, str,...)
#define JSK_ROS_WARN(str,...)
#define JSK_ROS_WARN_STREAM(...)
#define JSK_ROS_WARN_STREAM_THROTTLE(rate,...)
#define JSK_ROS_WARN_THROTTLE(rate, str,...)
#define JSK_TOPIC_TOOLS_DEPRECATED_JSK_NODELET_XXX()
#define JSK_TOPIC_TOOLS_DEPRECATED_JSK_ROS_XXX()

Functions

const std::string jsk_topic_tools::getFunctionName (const std::string &name)
 Get only function name from __PRETTY_FUNCTION__.
bool jsk_topic_tools::warnNoRemap (const std::vector< std::string > names)
 warn if there are expected remappings.

Define Documentation

#define JSK_NODELET_DEBUG (   str,
  ... 
)
Value:
JSK_TOPIC_TOOLS_DEPRECATED_JSK_NODELET_XXX(); \
  NODELET_DEBUG("[%s] " str, jsk_topic_tools::getFunctionName(__PRETTY_FUNCTION__).c_str(), ##__VA_ARGS__)

Definition at line 71 of file log_utils.h.

#define JSK_NODELET_DEBUG_STREAM (   ...)
Value:
JSK_TOPIC_TOOLS_DEPRECATED_JSK_NODELET_XXX(); \
  NODELET_DEBUG_STREAM("[" << jsk_topic_tools::getFunctionName(__PRETTY_FUNCTION__).c_str() << "] " << __VA_ARGS__)

Definition at line 87 of file log_utils.h.

#define JSK_NODELET_DEBUG_STREAM_THROTTLE (   rate,
  ... 
)
Value:
JSK_TOPIC_TOOLS_DEPRECATED_JSK_NODELET_XXX(); \
  NODELET_DEBUG_STREAM_THROTTLE(rate, "[" << jsk_topic_tools::getFunctionName(__PRETTY_FUNCTION__).c_str() << "] " << __VA_ARGS__)

Definition at line 119 of file log_utils.h.

#define JSK_NODELET_DEBUG_THROTTLE (   rate,
  str,
  ... 
)
Value:
JSK_TOPIC_TOOLS_DEPRECATED_JSK_NODELET_XXX(); \
  NODELET_DEBUG_THROTTLE(rate, "[%s] " str, jsk_topic_tools::getFunctionName(__PRETTY_FUNCTION__).c_str(), ##__VA_ARGS__)

Definition at line 103 of file log_utils.h.

#define JSK_NODELET_ERROR (   str,
  ... 
)
Value:
JSK_TOPIC_TOOLS_DEPRECATED_JSK_NODELET_XXX(); \
  NODELET_ERROR("[%s] " str, jsk_topic_tools::getFunctionName(__PRETTY_FUNCTION__).c_str(), ##__VA_ARGS__)

Definition at line 80 of file log_utils.h.

#define JSK_NODELET_ERROR_STREAM (   ...)
Value:
JSK_TOPIC_TOOLS_DEPRECATED_JSK_NODELET_XXX(); \
  NODELET_ERROR_STREAM("[" << jsk_topic_tools::getFunctionName(__PRETTY_FUNCTION__).c_str() << "] " << __VA_ARGS__)

Definition at line 96 of file log_utils.h.

#define JSK_NODELET_ERROR_STREAM_THROTTLE (   rate,
  ... 
)
Value:
JSK_TOPIC_TOOLS_DEPRECATED_JSK_NODELET_XXX(); \
  NODELET_ERROR_STREAM_THROTTLE(rate, "[" << jsk_topic_tools::getFunctionName(__PRETTY_FUNCTION__).c_str() << "] " << __VA_ARGS__)

Definition at line 128 of file log_utils.h.

#define JSK_NODELET_ERROR_THROTTLE (   rate,
  str,
  ... 
)
Value:
JSK_TOPIC_TOOLS_DEPRECATED_JSK_NODELET_XXX(); \
  NODELET_ERROR_THROTTLE(rate, "[%s] " str, jsk_topic_tools::getFunctionName(__PRETTY_FUNCTION__).c_str(), ##__VA_ARGS__)

Definition at line 112 of file log_utils.h.

#define JSK_NODELET_FATAL (   str,
  ... 
)
Value:
JSK_TOPIC_TOOLS_DEPRECATED_JSK_NODELET_XXX(); \
  NODELET_FATAL("[%s] " str, jsk_topic_tools::getFunctionName(__PRETTY_FUNCTION__).c_str(), ##__VA_ARGS__)

Definition at line 83 of file log_utils.h.

#define JSK_NODELET_FATAL_STREAM (   ...)
Value:
JSK_TOPIC_TOOLS_DEPRECATED_JSK_NODELET_XXX(); \
  NODELET_FATAL_STREAM("[" << jsk_topic_tools::getFunctionName(__PRETTY_FUNCTION__).c_str() << "] " << __VA_ARGS__)

Definition at line 99 of file log_utils.h.

#define JSK_NODELET_FATAL_STREAM_THROTTLE (   rate,
  ... 
)
Value:
JSK_TOPIC_TOOLS_DEPRECATED_JSK_NODELET_XXX(); \
  NODELET_FATAL_STREAM_THROTTLE(rate, "[" << jsk_topic_tools::getFunctionName(__PRETTY_FUNCTION__).c_str() << "] " << __VA_ARGS__)

Definition at line 131 of file log_utils.h.

#define JSK_NODELET_FATAL_THROTTLE (   rate,
  str,
  ... 
)
Value:
JSK_TOPIC_TOOLS_DEPRECATED_JSK_NODELET_XXX(); \
  NODELET_FATAL_THROTTLE(rate, "[%s] " str, jsk_topic_tools::getFunctionName(__PRETTY_FUNCTION__).c_str(), ##__VA_ARGS__)

Definition at line 115 of file log_utils.h.

#define JSK_NODELET_INFO (   str,
  ... 
)
Value:
JSK_TOPIC_TOOLS_DEPRECATED_JSK_NODELET_XXX(); \
  NODELET_INFO("[%s] " str, jsk_topic_tools::getFunctionName(__PRETTY_FUNCTION__).c_str(), ##__VA_ARGS__)

Definition at line 74 of file log_utils.h.

#define JSK_NODELET_INFO_STREAM (   ...)
Value:
JSK_TOPIC_TOOLS_DEPRECATED_JSK_NODELET_XXX(); \
  NODELET_INFO_STREAM("[" << jsk_topic_tools::getFunctionName(__PRETTY_FUNCTION__).c_str() << "] " << __VA_ARGS__)

Definition at line 90 of file log_utils.h.

#define JSK_NODELET_INFO_STREAM_THROTTLE (   rate,
  ... 
)
Value:
JSK_TOPIC_TOOLS_DEPRECATED_JSK_NODELET_XXX(); \
  NODELET_INFO_STREAM_THROTTLE(rate, "[" << jsk_topic_tools::getFunctionName(__PRETTY_FUNCTION__).c_str() << "] " << __VA_ARGS__)

Definition at line 122 of file log_utils.h.

#define JSK_NODELET_INFO_THROTTLE (   rate,
  str,
  ... 
)
Value:
JSK_TOPIC_TOOLS_DEPRECATED_JSK_NODELET_XXX(); \
  NODELET_INFO_THROTTLE(rate, "[%s] " str, jsk_topic_tools::getFunctionName(__PRETTY_FUNCTION__).c_str(), ##__VA_ARGS__)

Definition at line 106 of file log_utils.h.

#define JSK_NODELET_WARN (   str,
  ... 
)
Value:
JSK_TOPIC_TOOLS_DEPRECATED_JSK_NODELET_XXX(); \
  NODELET_WARN("[%s] " str, jsk_topic_tools::getFunctionName(__PRETTY_FUNCTION__).c_str(), ##__VA_ARGS__)

Definition at line 77 of file log_utils.h.

#define JSK_NODELET_WARN_STREAM (   ...)
Value:
JSK_TOPIC_TOOLS_DEPRECATED_JSK_NODELET_XXX(); \
  NODELET_WARN_STREAM("[" << jsk_topic_tools::getFunctionName(__PRETTY_FUNCTION__).c_str() << "] " << __VA_ARGS__)

Definition at line 93 of file log_utils.h.

#define JSK_NODELET_WARN_STREAM_THROTTLE (   rate,
  ... 
)
Value:
JSK_TOPIC_TOOLS_DEPRECATED_JSK_NODELET_XXX(); \
  NODELET_WARN_STREAM_THROTTLE(rate, "[" << jsk_topic_tools::getFunctionName(__PRETTY_FUNCTION__).c_str() << "] " << __VA_ARGS__)

Definition at line 125 of file log_utils.h.

#define JSK_NODELET_WARN_THROTTLE (   rate,
  str,
  ... 
)
Value:
JSK_TOPIC_TOOLS_DEPRECATED_JSK_NODELET_XXX(); \
  NODELET_WARN_THROTTLE(rate, "[%s] " str, jsk_topic_tools::getFunctionName(__PRETTY_FUNCTION__).c_str(), ##__VA_ARGS__)

Definition at line 109 of file log_utils.h.

#define JSK_ROS_DEBUG (   str,
  ... 
)
Value:
JSK_TOPIC_TOOLS_DEPRECATED_JSK_ROS_XXX(); \
  ROS_DEBUG("[%s] " str, jsk_topic_tools::getFunctionName(__PRETTY_FUNCTION__).c_str(), ##__VA_ARGS__)

Definition at line 135 of file log_utils.h.

#define JSK_ROS_DEBUG_STREAM (   ...)
Value:
JSK_TOPIC_TOOLS_DEPRECATED_JSK_ROS_XXX(); \
  ROS_DEBUG_STREAM("[" << jsk_topic_tools::getFunctionName(__PRETTY_FUNCTION__).c_str() << "] " << __VA_ARGS__)

Definition at line 151 of file log_utils.h.

#define JSK_ROS_DEBUG_STREAM_THROTTLE (   rate,
  ... 
)
Value:
JSK_TOPIC_TOOLS_DEPRECATED_JSK_ROS_XXX(); \
  ROS_DEBUG_STREAM_THROTTLE(rate, "[" << jsk_topic_tools::getFunctionName(__PRETTY_FUNCTION__).c_str() << "] " << __VA_ARGS__)

Definition at line 183 of file log_utils.h.

#define JSK_ROS_DEBUG_THROTTLE (   rate,
  str,
  ... 
)
Value:
JSK_TOPIC_TOOLS_DEPRECATED_JSK_ROS_XXX(); \
  ROS_DEBUG_THROTTLE(rate, "[%s] " str, jsk_topic_tools::getFunctionName(__PRETTY_FUNCTION__).c_str(), ##__VA_ARGS__)

Definition at line 167 of file log_utils.h.

#define JSK_ROS_ERROR (   str,
  ... 
)
Value:
JSK_TOPIC_TOOLS_DEPRECATED_JSK_ROS_XXX(); \
  ROS_ERROR("[%s] " str, jsk_topic_tools::getFunctionName(__PRETTY_FUNCTION__).c_str(), ##__VA_ARGS__)

Definition at line 144 of file log_utils.h.

#define JSK_ROS_ERROR_STREAM (   ...)
Value:
JSK_TOPIC_TOOLS_DEPRECATED_JSK_ROS_XXX(); \
  ROS_ERROR_STREAM("[" << jsk_topic_tools::getFunctionName(__PRETTY_FUNCTION__).c_str() << "] " << __VA_ARGS__)

Definition at line 160 of file log_utils.h.

#define JSK_ROS_ERROR_STREAM_THROTTLE (   rate,
  ... 
)
Value:
JSK_TOPIC_TOOLS_DEPRECATED_JSK_ROS_XXX(); \
  ROS_ERROR_STREAM_THROTTLE(rate, "[" << jsk_topic_tools::getFunctionName(__PRETTY_FUNCTION__).c_str() << "] " << __VA_ARGS__)

Definition at line 192 of file log_utils.h.

#define JSK_ROS_ERROR_THROTTLE (   rate,
  str,
  ... 
)
Value:
JSK_TOPIC_TOOLS_DEPRECATED_JSK_ROS_XXX(); \
  ROS_ERROR_THROTTLE(rate, "[%s] " str, jsk_topic_tools::getFunctionName(__PRETTY_FUNCTION__).c_str(), ##__VA_ARGS__)

Definition at line 176 of file log_utils.h.

#define JSK_ROS_FATAL (   str,
  ... 
)
Value:
JSK_TOPIC_TOOLS_DEPRECATED_JSK_ROS_XXX(); \
  ROS_FATAL("[%s] " str, jsk_topic_tools::getFunctionName(__PRETTY_FUNCTION__).c_str(), ##__VA_ARGS__)

Definition at line 147 of file log_utils.h.

#define JSK_ROS_FATAL_STREAM (   ...)
Value:
JSK_TOPIC_TOOLS_DEPRECATED_JSK_ROS_XXX(); \
  ROS_FATAL_STREAM("[" << jsk_topic_tools::getFunctionName(__PRETTY_FUNCTION__).c_str() << "] " << __VA_ARGS__)

Definition at line 163 of file log_utils.h.

#define JSK_ROS_FATAL_STREAM_THROTTLE (   rate,
  ... 
)
Value:
JSK_TOPIC_TOOLS_DEPRECATED_JSK_ROS_XXX(); \
  ROS_FATAL_STREAM_THROTTLE(rate, "[" << jsk_topic_tools::getFunctionName(__PRETTY_FUNCTION__).c_str() << "] " << __VA_ARGS__)

Definition at line 195 of file log_utils.h.

#define JSK_ROS_FATAL_THROTTLE (   rate,
  str,
  ... 
)
Value:
JSK_TOPIC_TOOLS_DEPRECATED_JSK_ROS_XXX(); \
  ROS_FATAL_THROTTLE(rate, "[%s] " str, jsk_topic_tools::getFunctionName(__PRETTY_FUNCTION__).c_str(), ##__VA_ARGS__)

Definition at line 179 of file log_utils.h.

#define JSK_ROS_INFO (   str,
  ... 
)
Value:
JSK_TOPIC_TOOLS_DEPRECATED_JSK_ROS_XXX(); \
  ROS_INFO("[%s] " str, jsk_topic_tools::getFunctionName(__PRETTY_FUNCTION__).c_str(), ##__VA_ARGS__)

Definition at line 138 of file log_utils.h.

#define JSK_ROS_INFO_STREAM (   ...)
Value:
JSK_TOPIC_TOOLS_DEPRECATED_JSK_ROS_XXX(); \
  ROS_INFO_STREAM("[" << jsk_topic_tools::getFunctionName(__PRETTY_FUNCTION__).c_str() << "] " << __VA_ARGS__)

Definition at line 154 of file log_utils.h.

#define JSK_ROS_INFO_STREAM_THROTTLE (   rate,
  ... 
)
Value:
JSK_TOPIC_TOOLS_DEPRECATED_JSK_ROS_XXX(); \
  ROS_INFO_STREAM_THROTTLE(rate, "[" << jsk_topic_tools::getFunctionName(__PRETTY_FUNCTION__).c_str() << "] " << __VA_ARGS__)

Definition at line 186 of file log_utils.h.

#define JSK_ROS_INFO_THROTTLE (   rate,
  str,
  ... 
)
Value:
JSK_TOPIC_TOOLS_DEPRECATED_JSK_ROS_XXX(); \
  ROS_INFO_THROTTLE(rate, "[%s] " str, jsk_topic_tools::getFunctionName(__PRETTY_FUNCTION__).c_str(), ##__VA_ARGS__)

Definition at line 170 of file log_utils.h.

#define JSK_ROS_WARN (   str,
  ... 
)
Value:
JSK_TOPIC_TOOLS_DEPRECATED_JSK_ROS_XXX(); \
  ROS_WARN("[%s] " str, jsk_topic_tools::getFunctionName(__PRETTY_FUNCTION__).c_str(), ##__VA_ARGS__)

Definition at line 141 of file log_utils.h.

#define JSK_ROS_WARN_STREAM (   ...)
Value:
JSK_TOPIC_TOOLS_DEPRECATED_JSK_ROS_XXX(); \
  ROS_WARN_STREAM("[" << jsk_topic_tools::getFunctionName(__PRETTY_FUNCTION__).c_str() << "] " << __VA_ARGS__)

Definition at line 157 of file log_utils.h.

#define JSK_ROS_WARN_STREAM_THROTTLE (   rate,
  ... 
)
Value:
JSK_TOPIC_TOOLS_DEPRECATED_JSK_ROS_XXX(); \
  ROS_WARN_STREAM_THROTTLE(rate, "[" << jsk_topic_tools::getFunctionName(__PRETTY_FUNCTION__).c_str() << "] " << __VA_ARGS__)

Definition at line 189 of file log_utils.h.

#define JSK_ROS_WARN_THROTTLE (   rate,
  str,
  ... 
)
Value:
JSK_TOPIC_TOOLS_DEPRECATED_JSK_ROS_XXX(); \
  ROS_WARN_THROTTLE(rate, "[%s] " str, jsk_topic_tools::getFunctionName(__PRETTY_FUNCTION__).c_str(), ##__VA_ARGS__)

Definition at line 173 of file log_utils.h.

Value:
ROS_WARN_ONCE("DEPRECATION WARNING: JSK_NODELET_XXX log macros are deprecated, and please use NODELET_XXX instead." \
                " (See https://github.com/jsk-ros-pkg/jsk_common/issues/1461)");

Definition at line 64 of file log_utils.h.

Value:
ROS_WARN_ONCE("DEPRECATION WARNING: JSK_ROS_XXX log utils are deprecated, and please use ROS_XXX instead." \
                " (See https://github.com/jsk-ros-pkg/jsk_common/issues/1461)");

Definition at line 67 of file log_utils.h.



jsk_topic_tools
Author(s): Kei Okada , Yusuke Furuta
autogenerated on Fri Sep 8 2017 03:38:56