Questions about the logging format! #1840
Unanswered
ThereforeGames
asked this question in
Q&A
Replies: 1 comment 2 replies
-
You can reference the logger implementation here: I think when I implemented the logger, it was lllyasviel's idea that we should have some coloriazation on the log messages, so I implemented it. At least until now nobody is complaining about it. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello! A quick question for the CN maintainers.
I recently implemented the logging module in my extension, Unprompted. I decided to adopt the colors and string format of the ControlNet logger since it is probably the most popular extension to utilize the same module - I'm trying to ensure that the console output has a consistent look since AFAIK the WebUI itself does not prescribe a standard for this.
My question is, how were the colors and string format selected for ControlNet messages? They definitely look nice and include all the right information, but I'm wondering if there is a particular reason that "INFO" messages are green, or why hyphens are used as separators.
Just curious! Thanks.
Beta Was this translation helpful? Give feedback.
All reactions