I'm using CefSharp.OffScreen (63.0.3) in my project.
This package sometimes prints messages to the console by calling Console.WriteLine()
, there is a way to stop it by defining LogSeverity.Disable
but they have an open issue of this bug (it's still printing).
I want, in my project, to catch any calls to Console.WriteLine()
and decide whether to ignore it or print it. Is there is a way to do that?
• Edit:
Any prints that came from the external package start with "[" symbol, So I just need to catch any print and check if the string starting with "[" to know if I want to print it or not...