mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-27 14:58:32 +00:00
Added LOGLEVEL support, release will now defined LOGLEVEL 2 (errors and warnings)
LOGGING should not be affected. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2550 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
0ade8bfc56
commit
0708677b53
18 changed files with 85 additions and 69 deletions
|
@ -376,7 +376,7 @@ void CCodeWindow::CreateGUIControls(const SCoreStartupParameter& _LocalCoreStart
|
|||
|
||||
|
||||
// Additional dialogs
|
||||
#ifdef LOGGING
|
||||
#if LOGLEVEL > 0
|
||||
if (bLogWindow)
|
||||
{
|
||||
m_LogWindow = new CLogWindow(this);
|
||||
|
@ -504,7 +504,7 @@ void CCodeWindow::CreateMenu(const SCoreStartupParameter& _LocalCoreStartupParam
|
|||
// ---------------
|
||||
wxMenu* pDebugDialogs = new wxMenu;
|
||||
|
||||
if (LogManager::Enabled())
|
||||
if (LogManager::GetLevel() > 0)
|
||||
{
|
||||
wxMenuItem* pLogWindow = pDebugDialogs->Append(IDM_LOGWINDOW, _T("&LogManager"), wxEmptyString, wxITEM_CHECK);
|
||||
pLogWindow->Check(bLogWindow);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue