RoadmapShopEvents
Skip to main content

Home > @microsoft/rush-lib > ILogger > emitWarning

ILogger.emitWarning() method

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

Call this function to emit a warning to the Rush runtime.

Signature:

emitWarning(warning: Error): void;

Parameters

ParameterTypeDescription
warningError

Returns:

void