N.B. The HTTPHandler class has been present in the logging package since the first release, but was enhanced for Python 3.2 to add options for secure connections and user credentials. You may wish to use this version with earlier Python releases.
A class which sends records to a Web server, using either GET or POST semantics.
Parameters: |
|
---|
Emit a record.
Send the record to the Web server as a percent-encoded dictionary
Parameters: | record – The record to be emitted. |
---|
Default implementation of mapping the log record into a dict that is sent as the CGI data. Overwrite in your class. Contributed by Franz Glasner.
Parameters: | record – The record to be mapped. |
---|