2.7.5Class LogChannelStream

Logs on an open stream.

Class LogChannelStream( stream, level, [format] )
stream the stream where to log.
level the log level.
format a format for the log.

If given, the format parameter is used to configure how each log entry will look once rendered on the final stream. Seel LogChannel.format for a detailed description.

Methods
flushAllReads or set the flush all mode.

Methods

flushAll

Reads or set the flush all mode.

LogChannelStream.flushAll( [setting] )
setting True to have the stream flushed at each write.
ReturnThe current status setting.

Stream based channels are usually writing data on buffered streams. The default behavior is that of flushing the buffer as soon as a log line is written. For some tasks where a large amount of log is written, this may be an overkill.

See also: LogChannel.

Made with http://www.falconpl.org