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


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

Constructor & Destructor Documentation

Definition at line 159 of file

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

Member Function Documentation

Definition at line 165 of file

00166     def flush(self):
00167         pass

Definition at line 162 of file

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

Member Data Documentation

Definition at line 160 of file

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