4.15. foundations.streamObject

streamObject.py

Platform:
Windows, Linux, Mac Os X.
Description:
This module defines the StreamObject class.

Others:

4.15.1. Classes

class foundations.streamObject.StreamObject(stream=None)[source]

Bases: object

This class is intented to be used as a stream object for logging.StreamHandler logging handler.

Parameters:stream – Stream object. ( Object )
stream[source]

This method is the property for self.__stream attribute.

Returns:self.__stream. ( List )
write(message)[source]

This method provides write ability to the class.

Parameters:message – Current message. ( String )
flush()[source]

This method flushes the current stream.

Table Of Contents

Previous topic

4.14. foundations.rotatingBackup

Next topic

4.16. foundations.strings

This Page