UNPKG

@sentry/react-native

Version:
25 lines (24 loc) 753 B
/** * 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;