Rush StackShopBlogEvents
Skip to main content

Home > @microsoft/rush-lib > ILogger

ILogger interface

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Signature:

export interface ILogger 

Properties

Property

Modifiers

Type

Description

terminal

readonly

Terminal

(BETA)

Methods

Method

Description

emitError(error)

(BETA) Call this function to emit an error to the Rush runtime.

emitWarning(warning)

(BETA) Call this function to emit a warning to the Rush runtime.