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 9b10cad commit 4b4f6d8Copy full SHA for 4b4f6d8
src/system/decorators/log.ts
@@ -97,7 +97,9 @@ export function log<T>(
97
const correlationId = getNextCorrelationId();
98
99
if (
100
- (Logger.level !== LogLevel.Debug && !(Logger.level === LogLevel.Verbose && !options.debug)) ||
+ (!Logger.isDebugging &&
101
+ Logger.level !== LogLevel.Debug &&
102
+ !(Logger.level === LogLevel.Verbose && !options.debug)) ||
103
(typeof options.condition === 'function' && !options.condition(...args))
104
) {
105
return fn!.apply(this, args);
0 commit comments