FIX: wxLog level in public version

Change-Id: I9ff3829dcfd649120f422aed195ecea6cd37ddb1
This commit is contained in:
chunmao.guo 2023-05-23 15:28:33 +08:00 committed by Lane.Wei
parent bb459f306d
commit ca0847d0ac
1 changed files with 3 additions and 0 deletions

View File

@ -2273,6 +2273,9 @@ class wxBoostLog : public wxLog
bool GUI_App::on_init_inner()
{
wxLog::SetActiveTarget(new wxBoostLog());
#if BBL_RELEASE_TO_PUBLIC
wxLog::SetLogLevel(wxLOG_Message);
#endif
// Set initialization of image handlers before any UI actions - See GH issue #7469
wxInitAllImageHandlers();