Package rospy :: Module core :: Class LoggingIdentical

Class LoggingIdentical

source code

object --+
         |
        LoggingIdentical

Instance Methods
 
__call__(self, caller_id, msg)
Do logging specified message only if distinct from last message.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
  last_logging_msg_table = {}
Properties

Inherited from object: __class__

Method Details

__call__(self, caller_id, msg)
(Call operator)

source code 
Do logging specified message only if distinct from last message.

- caller_id (str): Id to identify the caller
- msg (str): Contents of message to log