Sure, you can look here for a brief description of the process:
Also, you can take a look at /bugLog/test/client.cfm to see how it's used.
The gist of it is:
- create an instance of /bugLog/client/bugLogService.cfc configured with the address of your buglog server (buglog works best on a distributed environment, with buglog on a different server than your app, but you can have both buglog and your app on the same server if you want)
- put the instance you created on a persistent scope such as the Application scope
- whenever you trap an error in your app, call the notifyService() method in your buglogservice instance.
NotifyService() can take the following parameters:
- message: The mesage of the error
- exception: The cfcatch structure (but could be an empty struct if you dont have a cfcatch)
- extraInfo: Anything you want, could be a string value, a struct, an array
- severityCode: A classification for your error, you can use any value you want here, however buglog prefers the values INFO, ERROR, FATAL, CRITICAL, HTML and 404
Hope this helps!
Oscar