|
@ -97,7 +97,9 @@ export function log( |
|
|
const correlationId = getNextCorrelationId(); |
|
|
const correlationId = getNextCorrelationId(); |
|
|
|
|
|
|
|
|
if ( |
|
|
if ( |
|
|
(Logger.level !== LogLevel.Debug && !(Logger.level === LogLevel.Verbose && !options.debug)) || |
|
|
|
|
|
|
|
|
(!Logger.isDebugging && |
|
|
|
|
|
Logger.level !== LogLevel.Debug && |
|
|
|
|
|
!(Logger.level === LogLevel.Verbose && !options.debug)) || |
|
|
(typeof options.condition === 'function' && !options.condition(...args)) |
|
|
(typeof options.condition === 'function' && !options.condition(...args)) |
|
|
) { |
|
|
) { |
|
|
return fn!.apply(this, args); |
|
|
return fn!.apply(this, args); |
|
|