Skip to content

Commit 160b9d9

Browse files
Copilotmondoreale
andauthored
Change logger identifier from 'utils' to 'sdk-test-utils' for clarity (#3315)
## Summary Addresses feedback on PR #3309 to use a more specific logger identifier in test utilities, avoiding ambiguity with the source file's logger. ## Changes - Changed logger identifier from `'utils'` to `'sdk-test-utils'` in `packages/sdk/test/test-utils/utils.ts` This prevents confusion in logs between the test utilities logger and the identically-named logger in `packages/sdk/src/utils/utils.ts`. ## Checklist before requesting a review - [ ] Is this a breaking change? If it is, be clear in summary. - [x] Read through code myself one more time. - [x] Make sure any and all `TODO` comments left behind are meant to be left in. - [x] Has reasonable passing test coverage? - [ ] Updated changelog if applicable. - [ ] Updated documentation if applicable. <!-- START COPILOT CODING AGENT TIPS --> --- 💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more [Copilot coding agent tips](https://gh.io/copilot-coding-agent-tips) in the docs. --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: mondoreale <[email protected]>
1 parent c21557f commit 160b9d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/sdk/test/test-utils/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ import { FakeStorageNode } from './../test-utils/fake/FakeStorageNode'
5858
import { addAfterFn } from './jest-utils'
5959
import { StreamIDBuilder } from '../../src/StreamIDBuilder'
6060

61-
const logger = new Logger('utils')
61+
const logger = new Logger('sdk-test-utils')
6262

6363
export function mockLoggerFactory(clientId?: string): LoggerFactory {
6464
return new LoggerFactory({

0 commit comments

Comments
 (0)