Interface IProcessLogProvider
OptimaJet.Workflow.Core.Logging.IProcessLogProvider
Defines a provider that stores and retrieves ProcessLogEntry instances for workflow processes.
Namespace: OptimaJet.Workflow.Core.Logging
public interface IProcessLogProviderType Hierarchy
- IProcessLogProvider Current type
- Implementing types
Methods
Task<IEnumerable<ProcessLogEntry>> ReadAllAsync(Guid processId) #Retrieves all ProcessLogEntry instances for the process identified by
processId.Parameters
Name
Type
Description
processIdGuidThe ProcessInstance.ProcessId value of the process whose ProcessLogEntry instances to retrieve.
Returns
Type
Description
Task<ProcessLogEntry>The asynchronous operation that yields all ProcessLogEntry instances associated with the process.
Task<IEnumerable<ProcessLogEntry>> ReadLastAsync(Guid processId, DateTime time) #Parameters
Name
Type
Description
processIdGuidThe ProcessInstance.ProcessId value of the process whose ProcessLogEntry instances to retrieve.
Returns
Type
Description
Task<ProcessLogEntry>The asynchronous operation that yields the matching ProcessLogEntry instances.
Task<IEnumerable<ProcessLogEntry>> ReadLastAsync(Guid processId, int count) #Retrieves up to
count of the most recent ProcessLogEntry instances for the process identified by processId.Parameters
Name
Type
Description
processIdGuidThe ProcessInstance.ProcessId value of the process whose ProcessLogEntry instances to retrieve.
Returns
Type
Description
Task<ProcessLogEntry>The asynchronous operation that yields up to
count of the most recent ProcessLogEntry instances, ordered from newest to oldest.Task<IEnumerable<ProcessLogEntry>> ReadEarlyAsync(Guid processId, DateTime time, int count) #Retrieves up to
count ProcessLogEntry instances created before time for the process identified by processId.Parameters
Name
Type
Description
processIdGuidThe ProcessInstance.ProcessId value of the process whose ProcessLogEntry instances to retrieve.
Returns
Type
Description
Task<ProcessLogEntry>The asynchronous operation that yields up to
count of the matching ProcessLogEntry instances, ordered from newest to oldest.