diff --git a/packages/core/src/hooks/hookRegistry.test.ts b/packages/core/src/hooks/hookRegistry.test.ts index 5d6d3cccedf..0308eae70a1 100644 --- a/packages/core/src/hooks/hookRegistry.test.ts +++ b/packages/core/src/hooks/hookRegistry.test.ts @@ -90,7 +90,7 @@ describe('HookRegistry', () => { await hookRegistry.initialize(); expect(hookRegistry.getAllHooks()).toHaveLength(0); - expect(mockDebugLogger.log).toHaveBeenCalledWith( + expect(mockDebugLogger.debug).toHaveBeenCalledWith( 'Hook registry initialized with 0 hook entries', ); }); diff --git a/packages/core/src/hooks/hookRegistry.ts b/packages/core/src/hooks/hookRegistry.ts index 072f049f0a5..36987f2c6a6 100644 --- a/packages/core/src/hooks/hookRegistry.ts +++ b/packages/core/src/hooks/hookRegistry.ts @@ -41,7 +41,7 @@ export class HookRegistry { this.entries = []; this.processHooksFromConfig(); - debugLogger.log( + debugLogger.debug( `Hook registry initialized with ${this.entries.length} hook entries`, ); }