libgs.utils.UTCLogFormatterHTML

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

A logging formatter that displays records in UTC (zulu) time and uses HTML tags for formatting.

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

format(record) Format the specified record as text.

Attributes

Inherited from base class

converter gmtime([seconds]) -> (tm_year, tm_mon, tm_mday, tm_hour, tm_min,
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.
use_colour