Enable CEF debug log.
This commit is contained in:
parent
50c829aeeb
commit
f349e5df6c
1 changed files with 4 additions and 0 deletions
|
|
@ -436,6 +436,10 @@ bool wxWebViewChromium::StartUp(int &code, const wxString &path,
|
|||
}
|
||||
|
||||
CefSettings settings;
|
||||
#ifdef __WXDEBUG__
|
||||
settings.log_severity = LOGSEVERITY_INFO;
|
||||
CefString(&settings.log_file).FromASCII("./debug.log");
|
||||
#endif
|
||||
// We use a multithreaded message loop so we don't have to integrate
|
||||
// with the wx message loop
|
||||
//settings.multi_threaded_message_loop = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue