Prepends a fixed-length, coloured trailer with the log level.
record¶ (LogRecord) – The record to be logged.
LogRecord
The formatted message
str