6.29.5.2 FileHandler

Python 2.4

6.29.5.2 FileHandler

The FileHandler class sends logging output to a disk file. It inherits the output functionality from StreamHandler.

Returns a new instance of the FileHandler class. The specified file is opened and used as the stream for logging. If mode is not specified, 'a' is used. By default, the file grows indefinitely.

Closes the file.

Outputs the record to the file.

See About this document... for information on suggesting changes.