Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 652453f

Browse files
committed
[[ CEF ]] Use verbose logging in CEF debug builds
This patch updates the libbrowser cef init to make CEF output verbose logs when running under a building a debug build.
1 parent a78e875 commit 652453f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libbrowser/src/libbrowser_cef.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,11 @@ bool MCCefInitialise(void)
494494
t_settings.command_line_args_disabled = true;
495495
t_settings.windowless_rendering_enabled = true;
496496
t_settings.no_sandbox = true;
497+
#ifdef _DEBUG
498+
t_settings.log_severity = LOGSEVERITY_VERBOSE;
499+
#else
497500
t_settings.log_severity = LOGSEVERITY_DISABLE;
501+
#endif
498502

499503
bool t_success = true;
500504
#ifdef TARGET_PLATFORM_LINUX

0 commit comments

Comments
 (0)