
logger.Trace(DateTime.Now.ToString(“mm:ss:ffff”) + “: Calling FX Rate”);
this.callFxRest();
logger.Trace(DateTime.Now.ToString(“mm:ss:ffff”) + “: FX Rate”);
If an exception is raised in a plugin the traces messages are included in the error text returned to the user.
To can view your trace logs you need to enable logging in System Settings -> Customizations. You can then select if you want tracing enabled just for Exceptions or All.
Once logging is enabled you go Settings -> Plug in Trace Log to see the logs files. Note that the log files are created asynchronously so there may be a slight delay for your log to appear after execution.
Leave a Reply
You must be logged in to post a comment.