-
-
Notifications
You must be signed in to change notification settings - Fork 768
Colorization of console log output #4662
Copy link
Copy link
Closed
Description
Discussed in https://github.com/orgs/cake-build/discussions/4661
Originally posted by alphaleonis November 19, 2025
We just started looking into migrating from Nuke to Cake.SDK, but I am confused as to why colorization of custom logs doesn't work unless using a fomatted string. For example:
Error("Error: {0}", "An error"); // Appears all in red
Error("Error: An error"); // Appears with default color
Warning("Warn: {0}", "An error"); // Appears in yellow
Warning("Error: An error"); // Appears in default color
I'm probably missing something obvious here, but I would like to have all my error logs appear in red.
Reactions are currently unavailable