Workflow Engine .NET

Assembly: OptimaJet.Workflow.Core

Interface IProcessLogProvider

OptimaJet.Workflow.Core.Logging.IProcessLogProvider

public interface IProcessLogProvider

Methods

void Write(ProcessLogEntry entry) #

Parameters

Name
Type
Description
entry
ProcessLogEntry
Task<IEnumerable<ProcessLogEntry>> ReadAllAsync(Guid processId) #
Get all records for specific process.

Parameters

Name
Type
Description
processId
Guid

Returns

Type
Description
Task<ProcessLogEntry>
Task<IEnumerable<ProcessLogEntry>> ReadLastAsync(Guid processId, DateTime time) #
Get last records starting the specified time

Parameters

Name
Type
Description
processId
Guid
time
DateTime

Returns

Type
Description
Task<ProcessLogEntry>
Task<IEnumerable<ProcessLogEntry>> ReadLastAsync(Guid processId, int count) #
Get last records in certain amount

Parameters

Name
Type
Description
processId
Guid
count
Int32
Count of records

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

Name
Type
Description
processId
Guid
time
DateTime
count
Int32
Count of records

Returns

Type
Description
Task<ProcessLogEntry>

Derived Types