-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support color overwriting via Log.to_pretty
The color schemes are now built once in Log.to_pretty, and merged into a single map. This lets a minimal amount of colors be overwritten by a passed dictionary, and leaves the rest of the colors as-is. Passing color overwrites at the log callsite is a pain at the moment - the variadic log functions don't make it clear where an opts dictionary could be passed, and passing the result of Log.pretty to one of the public Log funcs will print it as a string, which is not ideal
- Loading branch information
1 parent
347a527
commit f62b9e7
Showing
4 changed files
with
85 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters