c388b6d83c
- Restructured server layer with 5 domains: shared, screener, portfolio, calls, finance - Migrated 58 TypeScript files to domain-driven structure - Updated CLAUDE.md with new architecture documentation - Added .gitignore rules for .md files (except CLAUDE.md) - Removed unused CatalystAnalyst import from app.ts - Fixed lint errors: removed unused imports, fixed regex escape, added console suppressions - Verified no sensitive data in git history - Server code compiles cleanly with TypeScript strict mode
16 lines
452 B
TypeScript
16 lines
452 B
TypeScript
import type { Logger } from '../types';
|
|
|
|
/**
|
|
* Shared server-side logger utilities.
|
|
*
|
|
* noopLogger — silent logger for use in API server context where stdout
|
|
* output from screener/analyst classes would pollute the request log.
|
|
* Pass as { logger: noopLogger } to ScreenerEngine, BenchmarkProvider,
|
|
* CatalystAnalyst, SimpleFINClient, LLMAnalyst.
|
|
*/
|
|
export const noopLogger: Logger = {
|
|
write: () => {},
|
|
log: () => {},
|
|
warn: () => {},
|
|
};
|