libgs.utils.UTCLogFormatterHTML

class libgs.utils.UTCLogFormatterHTML(fmt=None, datefmt=None)[source]

Initialize the formatter with specified format strings.

Initialize the formatter either with the specified format string, or a default as described above. Allow for specialized date formatting with the optional datefmt argument (if omitted, you get the ISO8601 format).

Methods

converter gmtime([seconds]) -> (tm_year, tm_mon, tm_mday, tm_hour, tm_min,
format(record) Format the specified record as text.
formatException(ei) Format and return the specified exception information as a string.
formatTime(record[, datefmt]) Return the creation time of the specified LogRecord as formatted text.
usesTime() Check if the format uses the creation time of the record.

Attributes

use_colour