Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(canary): Move logger creation inside token measurement scope
Delay logger instantiation until it's actually needed within the token measurement context. This change prevents unnecessary logger creation when token measurement might not occur. Changes: - Remove early logger creation at function start - Move createLogger call inside withTokenMeasurement function - Maintain same logging functionality with better scoping
- Loading branch information