Added version of Logging.logError() that takes an exception.