StdOutConsoleHandler

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.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun close()

Closes the handler (no-op for stdout).

Link copied to clipboard
open override fun flush()

Flushes the output stream.

Link copied to clipboard
open override fun publish(record: LogRecord)

Publishes a log record to standard output with appropriate color coding.