refactor(logging): Centralize all console messaging to a shared logger (part 1) (#11537)

This commit is contained in:
Abhi
2025-10-20 18:16:47 -04:00
committed by GitHub
parent 988400b036
commit 6af2bff897
18 changed files with 145 additions and 143 deletions
+2 -1
View File
@@ -23,6 +23,7 @@ import {
StreamJsonFormatter,
JsonStreamEventType,
uiTelemetryService,
debugLogger,
} from '@google/gemini-cli-core';
import type { Content, Part } from '@google/genai';
@@ -255,7 +256,7 @@ export async function runNonInteractive(
.getChat()
.recordCompletedToolCalls(currentModel, completedToolCalls);
} catch (error) {
console.error(
debugLogger.error(
`Error recording completed tool call information: ${error}`,
);
}