@toruslabs/loglevel-sentry
Version:
A package to allow logging and monitoring with sentry
10 lines (9 loc) • 468 B
TypeScript
import { Logger } from "loglevel";
import { Sentry } from "./loglevel-sentry";
/**
* TODO: remove in the next major version (v10)
* @deprecated Use `loglevel.getLogger` instead
* We should not use this function as it'll install the plugin to the logger which we already do it when setting up the Sentry
* When we install multiple times, it'll format the error message in a nested way
*/
export declare function createLogger(name: string, sentry: Sentry): Logger;