Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: Pecan on July 10, 2007, 06:28:22 pm

Title: All plugin debug log write have disappeared.
Post by: Pecan on July 10, 2007, 06:28:22 pm
When debugging a plugin, I like to wirte to a log as follows:

Code: [Select]
    wxWindow* pcbWindow = Manager::Get()->GetAppWindow();
    m_pMS_Window = pcbWindow;
    #if LOGGING
        /*wxLogWindow**/ pMyLog = new wxLogWindow(pcbWindow, wxT("DragScroll"), true, false);
        wxLogMessage(_T("Logging cbDragScroll version %s"),wxString(wxT(VERSION)).c_str());

All of  sudden, no writes to the logs work.

How can I re-instate my debugging log?