Package logging :: Class BufferingFormatter
[show private | hide private]
[frames | no frames]

Class BufferingFormatter


A formatter suitable for formatting a number of records.
Method Summary
  __init__(self, linefmt)
Optionally specify a formatter which will be used to format each individual record.
  format(self, records)
Format the specified records and return the result as a string.
  formatFooter(self, records)
Return the footer string for the specified records.
  formatHeader(self, records)
Return the header string for the specified records.

Method Details

__init__(self, linefmt=None)
(Constructor)

Optionally specify a formatter which will be used to format each individual record.

format(self, records)

Format the specified records and return the result as a string.

formatFooter(self, records)

Return the footer string for the specified records.

formatHeader(self, records)

Return the header string for the specified records.