Interface IProcessLogProvider
OptimaJet.Workflow.Core.Logging.IProcessLogProvider
Namespace: OptimaJet.Workflow.Core.Logging
public interface IProcessLogProviderMethods
void Write(ProcessLogEntry entry) #Parameters
Name
Type
Description
entryProcessLogEntryTask<IEnumerable<ProcessLogEntry>> ReadAllAsync(Guid processId) #Get all records for specific process.
Parameters
Name
Type
Description
Returns
Type
Description
Task<ProcessLogEntry>Task<IEnumerable<ProcessLogEntry>> ReadLastAsync(Guid processId, DateTime time) #Get last records starting the specified time
Parameters
Returns
Type
Description
Task<ProcessLogEntry>Task<IEnumerable<ProcessLogEntry>> ReadLastAsync(Guid processId, int count) #Get last records in certain amount
Parameters
Returns
Type
Description
Task<ProcessLogEntry>Task<IEnumerable<ProcessLogEntry>> ReadEarlyAsync(Guid processId, DateTime time, int count) #Get earle records starting the specified time in certain amount
Parameters
Returns
Type
Description
Task<ProcessLogEntry>