RAVE
Lib.rave_pgf_logger.LogRecordStreamHandler Class Reference

Handler for a streaming logging request. More...

Inheritance diagram for Lib.rave_pgf_logger.LogRecordStreamHandler:

Public Member Functions

 handle (self)
 Handle multiple requests - each expected to be a 4-byte length, followed by the LogRecord in pickle format.
 
 unPickle (self, data)
 Unpacks whatever comes in over the wire.
 
 handleLogRecord (self, record)
 Handles a log record.
 

Detailed Description

Handler for a streaming logging request.

This basically logs the record using whatever logging policy is configured locally.

Member Function Documentation

◆ handle()

Lib.rave_pgf_logger.LogRecordStreamHandler.handle ( self)

Handle multiple requests - each expected to be a 4-byte length, followed by the LogRecord in pickle format.

Logs the record according to whatever policy is configured locally.

◆ handleLogRecord()

Lib.rave_pgf_logger.LogRecordStreamHandler.handleLogRecord ( self,
record )

Handles a log record.

Parameters
recordlog record

◆ unPickle()

Lib.rave_pgf_logger.LogRecordStreamHandler.unPickle ( self,
data )

Unpacks whatever comes in over the wire.

Parameters
datapayload in pickle format
Returns
unpacked payload in native Python format

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