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 d580e1e commit d55bf01Copy full SHA for d55bf01
packages/signals/signals/src/lib/logger/index.ts
@@ -13,14 +13,14 @@ class Logger {
13
}
14
15
constructor() {
16
- const debugMode = parseDebugModeQueryString()
17
- if (typeof debugMode === 'boolean') {
18
- this.enableLogging('info')
19
- }
20
-
21
const logLevel = parseSignalsLogLevel()
22
if (logLevel !== undefined) {
23
logLevel === 'off' ? this.disableLogging() : this.enableLogging(logLevel)
+ } else {
+ const debugMode = parseDebugModeQueryString()
+ if (debugMode === true) {
+ this.enableLogging('info')
+ }
24
25
26
0 commit comments