@sentry/react-native
Version:
Official Sentry SDK for react-native
25 lines (24 loc) • 753 B
TypeScript
/**
* Log a warning message only once per run.
* This is used to avoid spamming the console with the same message.
*/
export declare function warnOnce(message: string): void;
/**
* Prefix message with `› [value]`.
*
* Example:
* ```
* › [@sentry/react-native/expo] This is a warning message
* ```
*/
export declare function prefix(value: string): string;
/**
* The same as `chalk.yellow`
* This code is part of the SDK, we don't want to introduce a dependency on `chalk` just for this.
*/
export declare function yellow(message: string): string;
/**
* The same as `chalk.bold`
* This code is part of the SDK, we don't want to introduce a dependency on `chalk` just for this.
*/
export declare function bold(message: string): string;