You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have set the keepAutoTracing variable to true and was expecting to get all the functions calls logged automatically without the need to manually call Printer.log.trace() but that is not the case.
How is it supposed to work?
Also, I normally need to log the function entry point as well as the exit point. I normally print logs along the line of:
Myclass.Start(): IN
------------------Myclass.Start(): OUT
this way I'm able to mentally follow the flow of execution. Is there any way to achieve this behavior with your framework?
The text was updated successfully, but these errors were encountered:
keepAutoTracing is true by default means you should only set it if you want to disable it. The purpose of the property is to keep logging the filename, function name and line number from where you have asked Printer to log.
Printer is created with the goal to print fancy logs by replacing the traditional 'print( )`. I am afraid that what you're looking for is not supported and surely wouldn't available in future versions.
However, you can always manually do it for individual functions.
Thanks for trying Printer, for now, I am closing this issue, you can try other features and if you found anything please feel free to open an issue again!
I have set the
keepAutoTracing
variable to true and was expecting to get all the functions calls logged automatically without the need to manually callPrinter.log.trace()
but that is not the case.How is it supposed to work?
Also, I normally need to log the function entry point as well as the exit point. I normally print logs along the line of:
this way I'm able to mentally follow the flow of execution. Is there any way to achieve this behavior with your framework?
The text was updated successfully, but these errors were encountered: