gajus / turbowatch

Extremely fast file change detector and task orchestrator for Node.js.
Other
944 stars 23 forks source link

✏️ Add Trigger Name Prefix and Customizable Hex Color to Logs for Enhanced Clarity and Consistency #53

Open clickclickonsal opened 1 year ago

clickclickonsal commented 1 year ago

Add Trigger Name Prefix and Customizable Hex Color to Logs for Enhanced Clarity and Consistency

Description:

This library has been a reliable tool in my workflow, especially in scenarios involving multiple server management. However, a notable limitation is the lack of trigger name prefixes in the logs. This omission complicates log analysis across different servers. To enhance usability, I suggest implementing a feature to prepend the trigger name to each log entry. Additionally, integrating the ability to specify a customizable hex color for each trigger's log output will further improve log clarity. This color consistency will aid in quickly identifying log entries related to specific triggers, making the debugging process more efficient in complex server environments.

Screenshots

Before

image

After

image