Exemple #1
0
        public bool OnConsoleMessage(IWebBrowser browserControl, ConsoleMessageEventArgs consoleMessageArgs)
        {
            try
            {
                _consoleLogger?.WriteMessage(consoleMessageArgs);
            }
            catch
            {
                // ignored
            }

            return(true);
        }
Exemple #2
0
 public static void WriteMessage(LogLevel level, string message)
 {
     logger.WriteMessage(level, message);
 }