log_utils Directory Reference
Directory dependency graph for log_utils:
log_utils

Files

file  inject_rosconsole.h [code]
 Include this file if you want to override the ROS_ or NODELET_ logging macros with CRAS logging macros. Type CRAS_RESTORE_ROS_LOG to get the original definitions back. Use this with care.
 
file  macros.h [code]
 ROS logging helpers macros. Do not include this file directly. Include log_utils.h instead. These logging macros are almost a copy of those from rosconsole/macros_generated.h and ros/console.h, but modified so that the underlying logger implementation can be dynamically changed, and also an alternative time source can be provided for the THROTTLE macros. To get the logger, these macros call getCrasLogger() method. If nothing special is done, the compiler will pick up the getCrasLogger() global function returning a globally usable logger that mimicks the ROS_* logging macros. If you want a different logger to be used, just call the macros in an environment where a more specific function named getCrasLogger() is defined - it can be a class method or a locally defined lambda.
 
file  memory.h [code]
 Log helper storing all messages in memory.
 
file  node.h [code]
 Log helper redirecting the logging calls to ROS_ macros.
 
file  nodelet.h [code]
 Log helper redirecting the logging calls to NODELET_ macros.
 


cras_cpp_common
Author(s): Martin Pecka
autogenerated on Tue Nov 26 2024 03:49:04