[Gambas-user] gb.logging API change

Sebastian Kulesz sebikul at ...626...
Tue Dec 17 04:48:56 CET 2013


My bad. It should be fixed in rev #6010. Please let me know!


On Mon, Dec 16, 2013 at 9:55 PM, Bruce <bbruen at ...2308...> wrote:

> Sebastian,
>
> With the new version the $(callLocation) is always returning the same
> location ("Logger._call.95").
>
> I stuck some debug in the Formatter to print the stack backtrace, here's
> what I get when using the Logger from "outside":
>
>         Formatter.GetCallLocation.10: Formatter.GetCallLocation.10
>         Formatter._call.45
>         Logger.Log.87
>         Logger._call.95
>         Application._init.57
>
> i.e. I think you should be using System.Backtrace[4] instead of [3]
>
> hth
> Bruce
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
> Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list