I believe logging has an 'exception' method which would be a better fit for this method. Also, any reason why these methods are called 'log_exception', 'log_error' etc instead of 'exception', 'error', etc like logger has them named?