Logging Colors in Terminal
- Dominant language
- PowerShell
- Stars
- 1.1k
- Forks
- 215
- Avg merge
- 4h 2m
- Merged PRs (30d)
- 1
Description
With the dotnet func.exe Standard Azure Functions logs for developers (console/terminal) are black and white making it really difficult to see and separate debug, information, errors and warnings.
Have tried various external libraries (like Serilog) to no avail.
The terminal supports colors but everything logged in the various functions is black/white.
```
Azure Functions Core Tools
Core Tools Version: 4.0.1 Commit hash: N/A +421f0144b42047aa289ce691dc6db4fc8b6143e6 (64-bit)
Function Runtime Version: 4.834.3.22875
```
Example - here we have a mix of Information and Debug logs:

Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the black-and-white output with Azure Functions Core Tools 4.0.1 in a color-capable terminal, using the Information and Debug log mix shown in the issue. Identify the Core Tools logging entry point and verify that completed output distinguishes debug, information, warning, and error messages with terminal colors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- cli, observability
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100