local log = wx.wxLogWindow( frame, "Log", true, true ) wx.wxLogError("testing...") --wx.wxLogWarning("") --wx.wxLogMessage("") --wx.wxLogStatus("") --wx.wxLogDebug("") --wx.wxLogVerbose("blah")
That's basically all I have right now. If you don't have the log window open it will generate a pop up window. The only one that doesn't is wxLogVerbose. But nothing shows up in the log window and i don't know how to enable verbose logging. On Sat, Aug 22, 2009 at 10:13 AM, Daniel Aquino<mr.danielaqu...@gmail.com> wrote: > Well I really just want a log window that only shows messages if it's open. > > I do not want the messages to show up as alert boxes when the log > window is closed. > > I believe I need to enable verbose logging but can't seem to figure out how. > > I don't have access to my code right now, when I do I will send it... > > > On Sat, Aug 22, 2009 at 8:00 AM, John Labenski<jlaben...@gmail.com> wrote: >> On Fri, Aug 14, 2009 at 9:29 PM, Daniel Aquino<mr.danielaqu...@gmail.com> >> wrote: >>> wxLogMessage appears to not send an alert window when the log window >>> is open but it does when it's closed... >>> >>> Really I'm just looking for a debug method to send to the log window >>> and not interfere with the other log messages.. >>> >>> log = log window >>> log:SetVerbose(true) seems to crash >>> >>> I tried log:SetLogLevel(wx.wxLOG_Max) crash as well >>> >>> and various other attempts... >> >> Sorry about the delay, I have not tried the wxLog functions with >> wxLua, but they should work... Can you give an example of the code >> that you are using, maybe modify the minimal sample and I can try to >> debug it. >> >> Regards, >> John >> >> >>> On Fri, Aug 14, 2009 at 9:15 PM, Daniel Aquino<mr.danielaqu...@gmail.com> >>> wrote: >>>> I seem to see messages when I do LogError but not LogVerbose >>>> >>>> On Fri, Aug 14, 2009 at 9:12 PM, Daniel Aquino<mr.danielaqu...@gmail.com> >>>> wrote: >>>>> The application also appears to crash which must mean I need to clean >>>>> up the log window some how on close... >>>>> >>>>> On Fri, Aug 14, 2009 at 9:09 PM, Daniel Aquino<mr.danielaqu...@gmail.com> >>>>> wrote: >>>>>> I created a wxLogWindow successfully and attached it to my current >>>>>> window. >>>>>> >>>>>> I called wxLogVerbose but don't seem to see any output. >>>>>> >>>>>> The error functions work fine (showing a pop up window). >>>>>> >>>>>> I noticed I had to bind wxLogWindow to a particular frame but then >>>>>> when I call the log functions I doesn't need a window ref... Could >>>>>> this be the issue? >>>>>> >>>>>> I also tried to set wxUSE_LOGWINDOW=true to no avail... >>>>>> >>>>>> Any help much appreciated... >>>>>> >>>>> >>>> >>> >>> ------------------------------------------------------------------------------ >>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >>> trial. Simplify your report design, integration and deployment - and focus >>> on >>> what you do best, core application coding. Discover what's new with >>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>> _______________________________________________ >>> wxlua-users mailing list >>> wxlua-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/wxlua-users >>> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> wxlua-users mailing list >> wxlua-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wxlua-users >> > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users