Custom logging handler that outputs formatted log records to standard output with ANSI color codes. Different log levels are displayed in different colors for better readability.
Closes the handler (no-op for stdout).
Flushes the output stream.
Publishes a log record to standard output with appropriate color coding.