Version: 9.12.0
KERNEL_PY.kernel.logger._UnFlushableLogStream Class Reference

This utility class allows to log messages to a stream with no flush method. More...

Public Member Functions

def __init__ (self, stream)
 
def write (self, msg)
 
def flush (self)
 

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.

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

Constructor & Destructor Documentation

◆ __init__()

def KERNEL_PY.kernel.logger._UnFlushableLogStream.__init__ (   self,
  stream 
)

Member Function Documentation

◆ flush()

def KERNEL_PY.kernel.logger._UnFlushableLogStream.flush (   self)

◆ write()

def KERNEL_PY.kernel.logger._UnFlushableLogStream.write (   self,
  msg 
)

Field Documentation

◆ _stream