Enable CEF debug log.

This commit is contained in:
Haojian Wu 2014-06-13 01:18:20 -07:00 committed by Tobias Taschner
parent 50c829aeeb
commit f349e5df6c
No known key found for this signature in database
GPG key ID: AE6ECD71294F87FD

View file

@ -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;