Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/terminal > IDynamicPrefixProxyTerminalProviderOptions > getPrefix

IDynamicPrefixProxyTerminalProviderOptions.getPrefix property

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.

A function that returns the prefix that should be added to each line of output. This is useful for prefixing each line with a timestamp.

Signature:

getPrefix: () => string;