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 fd0a098 commit e975e20Copy full SHA for e975e20
src/index.ts
@@ -4,11 +4,6 @@ import ExtensionReloaderImpl from "./ExtensionReloader";
4
import { setLogLevel } from "./utils/logger";
5
6
install();
7
+setLogLevel(process.env.NODE_ENV === "production" ? ERROR : DEBUG);
8
-let logLevel: LOG_LEVEL = ERROR;
9
-if (process.env.NODE_ENV !== "production") {
10
- logLevel = DEBUG;
11
-}
12
-
13
-setLogLevel(logLevel);
14
export = ExtensionReloaderImpl;
0 commit comments