private void ConsoleMessage(object sender, ConsoleMessageArgs e) { try { _webSessionLogger.LogBrowser(e, Url); } catch { } }
protected override bool OnConsoleMessage(CefBrowser browser, string message, string source, int line) { var consoleArgs = new ConsoleMessageArgs(message, source, line); if (ConsoleMessage==null) { Trace.WriteLine(consoleArgs); } ConsoleMessage?.Invoke(this, consoleArgs); return false; }
public void LogBrowser(ConsoleMessageArgs e, Uri url) { Log($"Brower Log: {e}, page: {url}"); }
public void LogBrowser(ConsoleMessageArgs args, Uri url) { Log($"{args}, page: {url}"); }
private void OnConsoleMessage(object sender, ConsoleMessageArgs e) { ConsoleMessage?.Invoke(this, e); }
void IWebSessionLogger.LogBrowser(ConsoleMessageArgs iInformation, Uri url) { throw new NotImplementedException(); }
public void LogBrowser(ConsoleMessageArgs iInformation, Uri url) { }
void IWebSessionLogger.LogBrowser(ConsoleMessageArgs iInformation, Uri url) { }
public void LogBrowser(ConsoleMessageArgs information, Uri url) { Do(l => l.LogBrowser(information, url)); }