-
I was wondering if there's an easy way to get colorized output from the qt_sinks when working with QTextEdit? I have the sink working so I get log messages into the Qt application, but the coloring is obviously not there. Any tricks and tips? |
Beta Was this translation helpful? Give feedback.
Answered by
tt4g
Feb 15, 2022
Replies: 1 comment 6 replies
-
Check for the appearance of certain patterns in the log messages, and change the colors yourself. |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
AnloWho
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
spdlog::sinks::qt_sink
passes log messages toQObject
, but does nothing more.Check for the appearance of certain patterns in the log messages, and change the colors yourself.