OSID Logo
OSID Specifications
logging package
Version 3.1.0
Interfaceosid.logging.LoggingProxyManager
Implementsosid.OsidProxyManager
osid.logging.LoggingProfile
Used Byosid.orchestration.OrchestrationManager
Description

The logging manager provides access to logging sessions and provides interoperability tests for various aspects of this service. Methods in this manager support the passing of a Proxy for the purposes of passing information from server environments. The sessions included in this manager are:

  • LoggingSession: a session to write to a log
  • LogEntryLookupSession: a session to read a log
  • LogEntryQuerySession: a session to search a log
  • LogEntrySearchSession: a session to search a log
  • LogEntryAdminSession: a session to manage log entries in a log
  • LogEntryNotificationSession: a session to subscribe to notifications of new log entries
  • LogEntryLogSession: a session to examine log entry to log mappings
  • LogEntryLogAssignmentSession: a session to manage log entry to log mappings
  • LogEntrySmartLogSession: a session to manage dynamic logs
  • LogLookupSession: a session to retrieve log objects
  • LogQuerySession: a session to search for logs
  • LogSearchSession: a session to search for logs
  • LogAdminSession: a session to create, update and delete logs
  • LogNotificationSession: a session to receive notifications for changes in logs
  • LogHierarchyTraversalSession: a session to traverse hierarchies of logs
  • LogHierarchyDesignSession: a session to manage hierarchies of logs

The logging manager also provides a profile for determing the supported search types supported by this service.

MethodgetLoggingSession
Description

Gets the OsidSession associated with the logging service.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.logging.LoggingSession a LoggingSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLogging() is false
Complianceoptional This method must be implemented if supportsLogging() is true.
MethodgetLoggingSessionForLog
Description

Gets the OsidSession associated with the logging service for the given log.

Parametersosid.id.IdlogId the Id of the Log
osid.proxy.Proxyproxy a proxy
Returnosid.logging.LoggingSession a LoggingSession
ErrorsNOT_FOUND no Log found by the given Id
NULL_ARGUMENT logId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLogging() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsLogging() and supportsVisibleFederation() are true
MethodgetLogEntryLookupSession
Description

Gets the OsidSession associated with the logging reading service.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.logging.LogEntryLookupSession a LogEntryLookupSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLogEntryLookup() is false
Complianceoptional This method must be implemented if supportsLogEntryLookup() is true.
MethodgetLogEntryLookupSessionForLog
Description

Gets the OsidSession associated with the log reading service for the given log.

Parametersosid.id.IdlogId the Id of the Log
osid.proxy.Proxyproxy a proxy
Returnosid.logging.LogEntryLookupSession a LogEntryLookupSession
ErrorsNOT_FOUND no Log found by the given Id
NULL_ARGUMENT logId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLogEntryLookup() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsLogEntryLookup() and supportsVisibleFederation() are true
MethodgetLogEntryQuerySession
Description

Gets the OsidSession associated with the logging entry query service.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.logging.LogEntryQuerySession a LogEntryQuerySession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLogEntryQuery() is false
Complianceoptional This method must be implemented if supportsLogEntryQuery() is true.
MethodgetLogEntryQuerySessionForLog
Description

Gets the OsidSession associated with the log entry query service for the given log.

Parametersosid.id.IdlogId the Id of the Log
osid.proxy.Proxyproxy a proxy
Returnosid.logging.LogEntryQuerySession a LogEntryQuerySession
ErrorsNOT_FOUND no Log found by the given Id
NULL_ARGUMENT logId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLogEntryQuery() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsLogEntryQuery() and supportsVisibleFederation() are true
MethodgetLogEntrySearchSession
Description

Gets the OsidSession associated with the logging entry search service.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.logging.LogEntrySearchSession a LogEntrySearchSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLogEntrySearch() is false
Complianceoptional This method must be implemented if supportsLogEntrySearch() is true.
MethodgetLogEntrySearchSessionForLog
Description

Gets the OsidSession associated with the log entry search service for the given log.

Parametersosid.id.IdlogId the Id of the Log
osid.proxy.Proxyproxy a proxy
Returnosid.logging.LogEntrySearchSession a LogEntrySearchSession
ErrorsNOT_FOUND no Log found by the given Id
NULL_ARGUMENT logId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLogEntrySearch() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsLogEntrySearch() and supportsVisibleFederation() are true
MethodgetLogEntryAdminSession
Description

Gets the OsidSession associated with the logging entry administrative service.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.logging.LogEntryAdminSession a LogEntryAdminSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLogEntryAdmin() is false
Complianceoptional This method must be implemented if supportsLogEntryAdmin() is true.
MethodgetLogEntryAdminSessionForLog
Description

Gets the OsidSession associated with the log entry administrative service for the given log.

Parametersosid.id.IdlogId the Id of the Log
osid.proxy.Proxyproxy a proxy
Returnosid.logging.LogEntryAdminSession a LogEntryAdminSession
ErrorsNOT_FOUND no Log found by the given Id
NULL_ARGUMENT logId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLogEntryAdmin() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsLogEntryAdmin() and supportsVisibleFederation() are true
MethodgetLogEntryNotificationSession
Description

Gets the OsidSession associated with the logging entry notification service.

Parametersosid.logging.LogEntryReceiverlogEntryReceiver the receiver
osid.proxy.Proxyproxy a proxy
Returnosid.logging.LogEntryNotificationSession a LogEntryNotificationSession
ErrorsNULL_ARGUMENT logEntryReceiver or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLogEntryNotification() is false
Complianceoptional This method must be implemented if supportsLogEntryNotification() is true.
MethodgetLogEntryNotificationSessionForLog
Description

Gets the OsidSession associated with the log entry notification service for the given log.

Parametersosid.logging.LogEntryReceiverlogEntryReceiver the receiver
osid.id.IdlogId the Id of the Log
osid.proxy.Proxyproxy a proxy
Returnosid.logging.LogEntryNotificationSession a LogEntryNotificationSession
ErrorsNOT_FOUND no Log found by the given Id
NULL_ARGUMENT logEntryReceiver, logId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLogEntryNotification() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsLogEntryNotification() and supportsVisibleFederation() are true
MethodgetLogEntryLogSession
Description

Gets the session for retrieving log entry to log mappings.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.logging.LogEntryLogSession a LogEntryLogSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLogEntryLog() is false
Complianceoptional This method must be implemented if supportsLogEntryLog() is true.
MethodgetLogEntryLogAssignmentSession
Description

Gets the session for assigning log entry to log mappings.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.logging.LogEntryLogAssignmentSession a LogEntryLogAssignmentSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLogEntryLogAssignment() is false
Complianceoptional This method must be implemented if supportsLogEntryLogAssignment() is true.
MethodgetLogEntrySmartLogSession
Description

Gets the session for managing dynamic log entry logs.

Parametersosid.id.IdlogId the Id of the log
osid.proxy.Proxyproxy a proxy
Returnosid.logging.LogEntrySmartLogSession a LogEntrySmartLogSession
ErrorsNOT_FOUND logId not found
NULL_ARGUMENT logId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLogEntrySmartLog() is false
Complianceoptional This method must be implemented if supportsLogEntrySmartLog() is true.
MethodgetLogLookupSession
Description

Gets the OsidSession associated with the log lookup service.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.logging.LogLookupSession a LogLookupSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLogLookup() is false
Complianceoptional This method must be implemented if supportsLogLookup() is true.
MethodgetLogQuerySession
Description

Gets the OsidSession associated with the log query service.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.logging.LogQuerySession a LogQuerySession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLogQuery() is false
Complianceoptional This method must be implemented if supportsLogQuery() is true.
MethodgetLogSearchSession
Description

Gets the OsidSession associated with the log search service.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.logging.LogSearchSession a LogSearchSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLogSearch() is false
Complianceoptional This method must be implemented if supportsLogSearch() is true.
MethodgetLogAdminSession
Description

Gets the OsidSession associated with the log administrative service.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.logging.LogAdminSession a LogAdminSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLogAdmin() is false
Complianceoptional This method must be implemented if supportsLogAdmin() is true.
MethodgetLogNotificationSession
Description

Gets the OsidSession associated with the log notification service.

Parametersosid.logging.LogReceiverlogReceiver the receiver
osid.proxy.Proxyproxy a proxy
Returnosid.logging.LogNotificationSession a LogNotificationSession
ErrorsNULL_ARGUMENT logReceiver or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLogNotification() is false
Complianceoptional This method must be implemented if supportsLogNotification() is true.
MethodgetLogHierarchySession
Description

Gets the OsidSession associated with the log hierarchy service.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.logging.LogHierarchySession a LogHierarchySession for logs
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLogHierarchy() is false
Complianceoptional This method must be implemented if supportsLogHierarchy() is true.
MethodgetLogHierarchyDesignSession
Description

Gets the OsidSession associated with the log hierarchy design service.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.logging.LogHierarchyDesignSession a HierarchyDesignSession for logs
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLogHierarchyDesign() is false
Complianceoptional This method must be implemented if supportsLogHierarchyDesign() is true.
MethodgetLoggingBatchProxyManager
Description

Gets a LoggingBatchProxyManager.

Returnosid.logging.batch.LoggingBatchProxyManager a LoggingBatchProxyManager
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLoggingBatch() is false
Complianceoptional This method must be implemented if supportsLoggingBatch() is true.