Website hosting service by Active-Venture.com
  

 Back to Index

6.28.2.2 FileHandler

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

 

 
class FileHandler( filename[, mode])
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.

 

 
close( )
Closes the file.

 

 
emit( record)
Outputs the record to the file.
 

  

 

© 2002-2004 Active-Venture.com Webhosting Service

 

Disclaimer: This documentation is provided only for the benefits of our hosting customers.
For authoritative source of the documentation, please refer to http://python.org/doc/

 

Domain registration : Buy domain name or register domain name from $5.95/year only

 

Cheap domain registration : Register domain name or buy domain name, including free domain hosting services

 
  Active-Domain.com offers cheap domain registration, domain name transfer and domain search services