FrigadeHQ / trench

Trench — Open-Source Analytics Infrastructure. A single production-ready Docker image built on ClickHouse, Kafka, and Node.js for tracking events, page views. Easily build product analytics dashboards, LLM RAGs, observability platforms, or any other analytics product.
https://trench.dev
MIT License
1.53k stars 54 forks source link

Transition to nestjs/logger #36

Closed tuminzee closed 3 months ago

tuminzee commented 3 months ago

To standardize and improve logging, we should replace all console.log instances with nestjs/logger. It provides:

Log Levels: (log, error, warn, debug, verbose) for better categorization. Environment Awareness: Adjusts log output based on NODE_ENV. Future Extensibility: Enables easy integration with tools like Pino, Winston, or OTEL.

christianmat commented 3 months ago

Thanks -- as discussed in the community Slack, feel free to open a PR for this.

tuminzee commented 3 months ago

on it @christianmat