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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user