Log¶
Log¶
-
class
dlkit.services.logging_.
Log
(provider_manager, catalog, runtime, proxy, **kwargs)¶ Bases:
dlkit.osid.objects.OsidCatalog
,dlkit.osid.sessions.OsidSession
A
Log
represents a collection of entries.Like all
OsidObjects,
aLog
is identified by its Id and any persisted references should use theId
.-
get_log_record
(log_record_type)¶ Gets the record corresponding to the given
Log
recordType
.This method is used to retrieve an object implementing the requested record. The
log_record_type
may be theType
returned inget_record_types()
or any of its parents in aType
hierarchy 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.LogRecord
Raise: NullArgument
–log_record_type
isnull
Raise: OperationFailed
– unable to complete requestRaise: Unsupported
–has_record_type(log_record_type)
isfalse
compliance: mandatory – This method must be implemented.
-