OSID Logo
OSID Specifications
logging package
Version 3.1.0
Interfaceosid.logging.LogEntry
Implementsosid.OsidObject
Used Byosid.logging.LogEntryAdminSession
osid.logging.LogEntryList
osid.logging.LogEntryLookupSession
Description

A log entry consists of a time, an agent, and a priority type.

MethodgetPriority
Description

Gets the priority level of this entry.

Returnosid.type.Type the priority level
Compliancemandatory This method must be implemented.
MethodgetTimestamp
Description

Gets the time this entry was logged.

Returnosid.calendaring.DateTime the time stamp of this entry
Compliancemandatory This method must be implemented.
MethodgetResourceId
Description

Gets the resource Id who created this entry.

Returnosid.id.Id the resource Id
Compliancemandatory This method must be implemented.
MethodgetResource
Description

Gets the Resource who created this entry.

Returnosid.resource.Resource the Resource
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetAgentId
Description

Gets the agent Id who created this entry.

Returnosid.id.Id the agent Id
Compliancemandatory This method must be implemented.
MethodgetAgent
Description

Gets the Agent who created this entry.

Returnosid.authentication.Agent the Agent
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetLogEntryRecord
Description

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

Parametersosid.type.TypelogEntryRecordType the type of log entry record to retrieve
Returnosid.logging.records.LogEntryRecord the log entry record
ErrorsNULL_ARGUMENT logEntryRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(logEntryRecordType) is false
Compliancemandatory This method must be implemented.