Support classes for LogRecord formatting.