removed deprecated createLogger and replaced with getLogger

This commit is contained in:
Bojan Kucera 2025-06-08 12:31:29 -04:00
parent 5d8b102422
commit c10a524aa8
29 changed files with 93 additions and 136 deletions

View file

@ -1,7 +1,7 @@
/**
* Data Service - Combined live and historical data ingestion
*/
import { createLogger } from '@stock-bot/logger';
import { getLogger } from '@stock-bot/logger';
import { loadEnvVariables } from '@stock-bot/config';
import { Hono } from 'hono';
import { serve } from '@hono/node-server';
@ -10,7 +10,7 @@ import { serve } from '@hono/node-server';
loadEnvVariables();
const app = new Hono();
const logger = createLogger('data-service');
const logger = getLogger('data-service');
const PORT = parseInt(process.env.DATA_SERVICE_PORT || '3002');
// Health check endpoint