@abc.abstractmethod<EOL><INDENT>def log(self, content, content_type):<DEDENT>
pass<EOL>
Logs an item.

        This method is a shortcut to ``createLogEntry()``.

        :param content: the entry to log
        :type content: ``object``
        :param content_type: the type of this entry which must be one of the types returned by ``LoggingManager.getContentTypes()``
        :type content_type: ``osid.type.Type``
        :raise: ``InvalidArgument`` -- ``content`` is not of ``content_type``
        :raise: ``NullArgument`` -- ``content`` or ``content_type`` is ``null``
        :raise: ``OperationFailed`` -- unable to complete request
        :raise: ``PermissionDenied`` -- authorization failure
        :raise: ``Unsupported`` -- ``LoggingManager.supportsContentType(contentType)`` is ``false``

        *compliance: mandatory -- This method must be implemented.*