OSID Logo
OSID Specifications
logging package
Version 3.1.0
Interfaceosid.logging.Log
Implementsosid.OsidCatalog
Used Byosid.logging.LogAdminSession
osid.logging.LogEntryAdminSession
osid.logging.LogEntryLookupSession
osid.logging.LogEntryNotificationSession
osid.logging.LogEntryQuerySession
osid.logging.LogEntrySmartLogSession
osid.logging.LogList
osid.logging.LogLookupSession
osid.logging.LogNode
osid.logging.LoggingSession
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.TypelogRecordType the type of log record to retrieve
Returnosid.logging.records.LogRecord the log record
ErrorsNULL_ARGUMENT logRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(logRecordType) is false
Compliancemandatory This method must be implemented.