refactor out common dependenceis

This commit is contained in:
Alex Holliday committed 2025-07-25 10:16:29 -07:00
1 parent ddf3e8251d
commit dc321580c3
20 files changed
+170 -233

No files matched your search

+3
View File
@@ -2,7 +2,10 @@ import { createLogger, format, transports } from "winston";
import dotenv from "dotenv";
dotenv.config();
const SERVICE_NAME = "Logger";
class Logger {
static SERVICE_NAME = SERVICE_NAME;
constructor() {
this.logCache = [];
this.maxCacheSize = 1000;