Skip to content

@ui5/logger/writers/Console

@ui5/logger/writers/Console

Standard handler for events emitted by @ui5/logger modules. Writes messages to process.stderr stream and renders a progress bar for UI5 CLI build processes.

The progress bar is only used in interactive terminals. If verbose logging is enabled, the progress bar is disabled.

Constructor

new @ui5/logger/writers/Console()

Source: logger/lib/writers/Console.js, line 19

Methods

disable()

Description: Detaches all event listeners and stops writing to output stream

Source: logger/lib/writers/Console.js, line 120

enable()

Description: Attaches all event listeners and starts writing to output stream

Source: logger/lib/writers/Console.js, line 106

(static) init()

Description: Creates a new instance and subscribes it to all events

Source: logger/lib/writers/Console.js, line 454