Rush StackShopBlogEvents
Skip to main content

Home > @microsoft/rush-lib > PhasedCommandHooks > beforeLog

PhasedCommandHooks.beforeLog property

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

Hook invoked after executing operations and before waitingForChanges. Allows the caller to augment or modify the log entry about to be written.

Signature:

readonly beforeLog: SyncHook<ITelemetryData, void>;