[Gambas-user] gb.logging API change

Bruce bbruen at ...2308...
Tue Dec 17 01:55:09 CET 2013


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








More information about the User mailing list