- Implement exception logging