Use ColoredConsoleListener in Essential Diagnostics. Define an interface for a wrapper of ColoredConsoleListener, and then inject the wrapper through config and reflection.
Log in to post a comment.