This ticket will use the logging module to start logging failures in the extension. The following needs to be done:
- All the error handling should use the logging to report an error.
- Log some informational messages for debugging.
- Add error handling forĀ malloc and new, return ENOMEM.