We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59c748b commit 1fdab3cCopy full SHA for 1fdab3c
src/Logger.ts
@@ -0,0 +1,18 @@
1
+import { wrapCallSite } from "source-map-support";
2
+import { ISettings, ISettingsParam } from ".";
3
+import { LoggerWithoutCallSite } from "./LoggerWithoutCallSite";
4
+
5
+/**
6
+ * 📝 Expressive TypeScript Logger for Node.js
7
+ * @public
8
+ */
9
+export class Logger extends LoggerWithoutCallSite {
10
+ /**
11
+ * @param settings - Configuration of the logger instance (all settings are optional with sane defaults)
12
+ * @param parentSettings - Used internally to
13
14
+ public constructor(settings?: ISettingsParam, parentSettings?: ISettings) {
15
+ super(settings, parentSettings);
16
+ this._callSiteWrapper = wrapCallSite;
17
+ }
18
+}
0 commit comments