Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/node-core-library > IDynamicPrefixProxyTerminalProviderOptions > getPrefix

IDynamicPrefixProxyTerminalProviderOptions.getPrefix property

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.

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.


getPrefix: () => string;