Interface IProcessLogProvider
Namespace: OptimaJet.Workflow.Core.Logging
Assembly: OptimaJet.Workflow.Core.dll
Syntaxpublic interface IProcessLogProvider
Methods
Write(ProcessLogEntry)
Declarationvoid Write(ProcessLogEntry entry)
Type | Name | Description |
---|---|---|
ProcessLogEntry | entry |
ReadAllAsync(Guid)
Get all records for specific process.
DeclarationTask<IEnumerable<ProcessLogEntry>> ReadAllAsync(Guid processId)
Type | Name | Description |
---|---|---|
Guid | processId | Id of <xref href="OptimaJet.Workflow.Core.Model.ProcessInstance" data-throw-if-not-resolved="false"></xref> |
Type | Description |
---|---|
Task<IEnumerable<ProcessLogEntry>> |
ReadLastAsync(Guid, DateTime)
Get last records starting the specified time
DeclarationTask<IEnumerable<ProcessLogEntry>> ReadLastAsync(Guid processId, DateTime time)
Type | Name | Description |
---|---|---|
Guid | processId | Id of <xref href="OptimaJet.Workflow.Core.Model.ProcessInstance" data-throw-if-not-resolved="false"></xref> |
DateTime | time |
Type | Description |
---|---|
Task<IEnumerable<ProcessLogEntry>> |
ReadLastAsync(Guid, int)
Get last records in certain amount
DeclarationTask<IEnumerable<ProcessLogEntry>> ReadLastAsync(Guid processId, int count)
Type | Name | Description |
---|---|---|
Guid | processId | Id of <xref href="OptimaJet.Workflow.Core.Model.ProcessInstance" data-throw-if-not-resolved="false"></xref> |
int | count | Count of records |
Type | Description |
---|---|
Task<IEnumerable<ProcessLogEntry>> |
ReadEarlyAsync(Guid, DateTime, int)
Get earle records starting the specified time in certain amount
DeclarationTask<IEnumerable<ProcessLogEntry>> ReadEarlyAsync(Guid processId, DateTime time, int count)
Type | Name | Description |
---|---|---|
Guid | processId | Id of <xref href="OptimaJet.Workflow.Core.Model.ProcessInstance" data-throw-if-not-resolved="false"></xref> |
DateTime | time | |
int | count | Count of records |
Type | Description |
---|---|
Task<IEnumerable<ProcessLogEntry>> |