Somewhat similar issue but I was trying to color the full line based on log levels;
I figured out how to do it. You can find how I accomplished it here if you're interested: https://github.com/serilog/serilog-sinks-console/issues/35#issuecomment-2577943657