rosros 0.2.5
Simple unified interface to ROS1 / ROS2 Python API
Loading...
Searching...
No Matches
log.py File Reference

Go to the source code of this file.

Classes

class  rosros.rospify.log.LogInhibitor
 

Namespaces

namespace  rosros
 Simple unified interface to ROS1 / ROS2.
 
namespace  rosros.rospify
 Provides ROS1 API facade for ROS2, or imports rospy if ROS1 environment.
 
namespace  rosros.rospify.log
 Stand-in for `rospy` logging functionality in ROS2.
 

Functions

 rosros.rospify.log._base_logger (msg, args, kwargs, throttle=None, throttle_identical=False, level=None, once=False)
 Issues the logging call, if throttling or once-argument allow for it.
 
 rosros.rospify.log._make_caller_id (depth=2)
 Returns caller id at specified call stack depth.
 
 rosros.rospify.log.logdebug (msg, *args, **kwargs)
 
 rosros.rospify.log.logdebug_once (msg, *args, **kwargs)
 
 rosros.rospify.log.logdebug_throttle (period, msg, *args, **kwargs)
 
 rosros.rospify.log.logdebug_throttle_identical (period, msg, *args, **kwargs)
 
 rosros.rospify.log.logerr (msg, *args, **kwargs)
 
 rosros.rospify.log.logerr_once (msg, *args, **kwargs)
 
 rosros.rospify.log.logerr_throttle (period, msg, *args, **kwargs)
 
 rosros.rospify.log.logerr_throttle_identical (period, msg, *args, **kwargs)
 
 rosros.rospify.log.logfatal (msg, *args, **kwargs)
 
 rosros.rospify.log.logfatal_once (msg, *args, **kwargs)
 
 rosros.rospify.log.logfatal_throttle (period, msg, *args, **kwargs)
 
 rosros.rospify.log.logfatal_throttle_identical (period, msg, *args, **kwargs)
 
 rosros.rospify.log.loginfo (msg, *args, **kwargs)
 
 rosros.rospify.log.loginfo_once (msg, *args, **kwargs)
 
 rosros.rospify.log.loginfo_throttle (period, msg, *args, **kwargs)
 
 rosros.rospify.log.loginfo_throttle_identical (period, msg, *args, **kwargs)
 
 rosros.rospify.log.logwarn (msg, *args, **kwargs)
 
 rosros.rospify.log.logwarn_once (msg, *args, **kwargs)
 
 rosros.rospify.log.logwarn_throttle (period, msg, *args, **kwargs)
 
 rosros.rospify.log.logwarn_throttle_identical (period, msg, *args, **kwargs)
 

Variables

 rosros.rospify.log.logerror = logerr
 
 rosros.rospify.log.logout = loginfo