diff --git a/package/logger/src/logger.ts b/package/logger/src/logger.ts index 50a0ed8ee..4d219be4b 100644 --- a/package/logger/src/logger.ts +++ b/package/logger/src/logger.ts @@ -57,7 +57,7 @@ export function createLogger( debug = true; } else if ( debugString.indexOf('*') === debugString.length && - scope.indexOf(debugString.replaceAll('*', '')) !== -1 + scope.indexOf(debugString.replaceAll('*', '')) !== 0 ) { debug = true; }