refactor: remove unused logging imports

This commit is contained in:
Han Xiao 2025-06-10 12:05:45 -07:00
parent 4180460585
commit 1946fa7beb
5 changed files with 1 additions and 23 deletions

View File

@ -1,7 +1,7 @@
import { TokenTracker } from "../utils/token-tracker";
import { JINA_API_KEY } from "../config";
import axiosClient from "../utils/axios-client";
import { logInfo, logError, logDebug, logWarning } from '../logging';
import { logError } from '../logging';
const JINA_API_URL = 'https://api.jina.ai/v1/classify';

View File

@ -1,6 +0,0 @@
import { logInfo, logError, logDebug, logWarning } from '../logging';
// Replace console.log statements
logInfo('Classification result:', { result });
logError('Classification error:', { error });

View File

@ -1,5 +0,0 @@
import { logInfo, logError, logDebug, logWarning } from '../logging';
logInfo('Token usage:', { usage });
logError('Token tracking error:', { error });

View File

@ -1,6 +0,0 @@
import { logInfo, logError, logDebug, logWarning } from '../logging';
// Replace console.log statements
logInfo('URL info:', { url });
logError('URL error:', { error });

View File

@ -1,5 +0,0 @@
import { logInfo, logError, logDebug, logWarning } from '../logging';
logInfo('Search info:', { query });
logError('Search error:', { error });