Back to index

salome-kernel  6.5.0
Public Member Functions | Private Attributes
KERNEL_PY.kernel.logger._UnFlushableLogStream Class Reference

List of all members.

Public Member Functions

def __init__
def write
def flush

Private Attributes

 _stream

Detailed Description

This utility class allows to log messages to a stream with no `flush`
method. This is useful to send log messages to `PyOut` objects.

Definition at line 153 of file logger.py.


Constructor & Destructor Documentation

Definition at line 159 of file logger.py.

00159 
00160     def __init__(self, stream):
00161         self._stream = stream


Member Function Documentation

Definition at line 165 of file logger.py.

00165 
00166     def flush(self):
00167         pass
00168 

Definition at line 162 of file logger.py.

00162 
00163     def write(self, msg):
00164         self._stream.write(msg)


Member Data Documentation

Definition at line 160 of file logger.py.


The documentation for this class was generated from the following file: