Skip to content

ConsoleHandler

1 min read

Import: import system.logging;

Read the usage guide for examples and common tasks. This reference lists the public declarations for this part of the library. See Reading API signatures for parameter and result notation.

ConsoleHandler

Writes formatted lines to stdout via System.println.

public class ConsoleHandler: LogHandler

constructor

Creates a console handler.

public constructor()

emit

Prints [LEVEL] name: message.

public fun emit(record: LogRecord): void