Log¶
Log¶
-
class
dlkit.services.logging_.Log(provider_manager, catalog, runtime, proxy, **kwargs)¶ Bases:
dlkit.osid.objects.OsidCatalog,dlkit.osid.sessions.OsidSessionA
Logrepresents a collection of entries.Like all
OsidObjects,aLogis identified by its Id and any persisted references should use theId.-
get_log_record(log_record_type)¶ Gets the record corresponding to the given
LogrecordType.This method is used to retrieve an object implementing the requested record. The
log_record_typemay be theTypereturned inget_record_types()or any of its parents in aTypehierarchy wherehas_record_type(log_record_type)istrue.Parameters: log_record_type ( osid.type.Type) – the type of log record to retrieveReturns: the log record Return type: osid.logging.records.LogRecordRaise: NullArgument–log_record_typeisnullRaise: OperationFailed– unable to complete requestRaise: Unsupported–has_record_type(log_record_type)isfalsecompliance: mandatory – This method must be implemented.
-