Skip to content

Conversation

rawrke
Copy link

@rawrke rawrke commented May 14, 2025

Addresses #1344

Still a WIP

@rawrke rawrke closed this May 20, 2025
@rawrke rawrke force-pushed the colored-format-strings branch from edb48b8 to a69bfc4 Compare May 20, 2025 00:34
- this should allow for more flexibility in patching the message before it is colorized
- for example, colors can be inserted on-the-fly with patches now
@rawrke rawrke reopened this May 20, 2025
@rawrke rawrke marked this pull request as ready for review May 20, 2025 02:41
@rawrke rawrke changed the title DRAFT: Insert colors around curly braces Updating order of operations for applying patchers May 20, 2025
@rawrke
Copy link
Author

rawrke commented May 20, 2025

This is ready for review. It addresses #1344.

I wanted to add a feature that allows users to configure their logs to be colorful based on the format string that is passed in to the log message.

I moved around the calls to the patchers to minimize the amount of code changes. Doing so allows users to configure their logs in more ways, an example is shown in the original issue (#1344)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant