@openfin/bloomberg
Version:
Connect apps running in OpenFin with the Bloomberg Terminal.
23 lines (22 loc) • 880 B
TypeScript
/**
* Disables module logging if it has been enabled by a call to {@link enableLogging}.
*
* This function is registered globally so you can disable logging at any time by calling:
* ```ts
* window.fin.Integrations.Bloomberg.disableLogging();
* ```
*/
export declare const disableLogging: () => void;
/**
* Enables module logging to the console for debugging/troubleshooting purposes. This is off by default.
*
* This function is registered globally so you can enable logging at any time by calling:
* ```ts
* window.fin.Integrations.Bloomberg.enableLogging();
* ```
*/
export declare const enableLogging: () => void;
export declare const isLoggingEnabled: () => boolean;
export declare const logError: (error: unknown, errorPrefix?: string) => void;
export declare const logInfo: (...args: any[]) => void;
export declare const logWarning: (...args: any[]) => void;