From 917f91715a304cb54b5500419ffc38ba1c81e9e2 Mon Sep 17 00:00:00 2001 From: Boki Date: Fri, 20 Jun 2025 21:55:00 -0400 Subject: [PATCH] fixed up logger and added more data-sources to md --- docs/data-sources.md | 5 +++++ libs/logger/src/logger.ts | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/data-sources.md b/docs/data-sources.md index 81ccc7d..0346174 100644 --- a/docs/data-sources.md +++ b/docs/data-sources.md @@ -32,6 +32,11 @@ - Pricing: https://site.financialmodelingprep.com/developer/docs/pricing - API Docs: https://financialmodelingprep.com/developer/docs +### Marketdata.App +- Pricing: https://www.marketdata.app/ + +### ThetaData +- https://www.thetadata.net/subscribe ## Additional Resources - **Marketstack**: https://marketstack.com/ diff --git a/libs/logger/src/logger.ts b/libs/logger/src/logger.ts index 559c91c..e47acd0 100644 --- a/libs/logger/src/logger.ts +++ b/libs/logger/src/logger.ts @@ -53,8 +53,8 @@ function createDestination( colorize: true, translateTime: 'yyyy-mm-dd HH:MM:ss.l', messageFormat: '[{service}{childName}] {msg}', - singleLine: true, - hideObject: false, + singleLine: false, // This was causing logs to be on one line + hideObject: true, // Hide metadata objects ignore: 'pid,hostname,service,environment,version,childName', errorLikeObjectKeys: ['err', 'error'], errorProps: 'message,stack,name,code',