code: def get_log_hierarchy(self):
          
          # Implemented from template for
          # osid.resource.BinHierarchySession.get_bin_hierarchy
          if self._catalog_session is not None:
              return self._catalog_session.get_catalog_hierarchy()
          return self._hierarchy_session.get_hierarchy()
docs: Gets the hierarchy associated with this session.
  
          return: (osid.hierarchy.Hierarchy) - the hierarchy associated
                  with this session
          raise:  OperationFailed - unable to complete request
          raise:  PermissionDenied - authorization failure
          *compliance: mandatory -- This method must be implemented.*