Package rosgraph :: Module roslogging :: Class RosStreamHandler
[frames] | no frames]

Class RosStreamHandler

source code

      object --+        
               |        
logging.Filterer --+    
                   |    
     logging.Handler --+
                       |
                      RosStreamHandler

Instance Methods
 
__init__(self, colorize=True)
Initializes the instance - basically setting the formatter to None and the filter list to empty.
source code
 
emit(self, record)
Do whatever it takes to actually log the specified logging record.
source code

Inherited from logging.Handler: acquire, close, createLock, flush, format, get_name, handle, handleError, release, setFormatter, setLevel, set_name

Inherited from logging.Filterer: addFilter, filter, removeFilter

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

Properties

Inherited from logging.Handler: name

Inherited from object: __class__

Method Details

__init__(self, colorize=True)
(Constructor)

source code 

Initializes the instance - basically setting the formatter to None and the filter list to empty.

Overrides: object.__init__
(inherited documentation)

emit(self, record)

source code 

Do whatever it takes to actually log the specified logging record.

This version is intended to be implemented by subclasses and so raises a NotImplementedError.

Overrides: logging.Handler.emit
(inherited documentation)