summaryrefslogtreecommitdiff
path: root/includes/external/matrix/node_modules/matrix-js-sdk/lib/logger.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'includes/external/matrix/node_modules/matrix-js-sdk/lib/logger.d.ts')
-rw-r--r--includes/external/matrix/node_modules/matrix-js-sdk/lib/logger.d.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/includes/external/matrix/node_modules/matrix-js-sdk/lib/logger.d.ts b/includes/external/matrix/node_modules/matrix-js-sdk/lib/logger.d.ts
new file mode 100644
index 0000000..545ca3b
--- /dev/null
+++ b/includes/external/matrix/node_modules/matrix-js-sdk/lib/logger.d.ts
@@ -0,0 +1,11 @@
+import { Logger } from "loglevel";
+/**
+ * Drop-in replacement for `console` using {@link https://www.npmjs.com/package/loglevel|loglevel}.
+ * Can be tailored down to specific use cases if needed.
+ */
+export declare const logger: PrefixedLogger;
+export interface PrefixedLogger extends Logger {
+ withPrefix: (prefix: string) => PrefixedLogger;
+ prefix: string;
+}
+//# sourceMappingURL=logger.d.ts.map \ No newline at end of file