add exception and log methods to better mirror Logging module