@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 Tooling 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:

Methods

disable()

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

enable()

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

(static) init()

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