OSID Logo
OSID Specifications
logging package
Version 3.0.0
Release Candidate Preview
Interfaceosid.logging.Log
Implementsosid.OsidCatalog
Description

A Log represents a collection of entries. Like all OsidObjects, a Log is identified by its Id and any persisted references should use the Id.

MethodgetLogRecord
Description

Gets the record corresponding to the given Log record Type. This method is used to retrieve an object implementing the requested record. The logRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(logRecordType) is true .

Parametersosid.type.TypelogRecordTypethe type of log record to retrieve
Returnosid.logging.records.LogRecordthe log record
ErrorsNULL_ARGUMENT logRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(logRecordType) is false
CompliancemandatoryThis method must be implemented.