Interface IBatchJobLogEntry
One log line written during a batch job run.
public interface IBatchJobLogEntry
Properties
Date
When the entry was written.
DateTimeOffset Date { get; init; }
Property Value
- DateTimeOffset
Id
The entry id, ascending in the order the entries were written - filter on id gt the last one
seen to follow a run that is still going.
long? Id { get; init; }
Property Value
- long?
JobId
The Id of the job that wrote the entry.
int JobId { get; init; }
Property Value
- int
JobLogId
The Id of the run the entry belongs to.
long JobLogId { get; init; }
Property Value
- long
Level
The severity: Trace, Debug, Information, Warning, Error or
Critical. A Warning makes the run end as 9996, anything above it as 9999.
string? Level { get; init; }
Property Value
- string
Result
The event id the entry was logged with: 0 or a handler's own code, or one of the Status codes where the entry reports the outcome (9998 cancelled, 9999 failed). 10000 marks a failure reported by the response stream itself.
int Result { get; init; }
Property Value
- int
Text
The message, including the exception where one was logged.
string? Text { get; init; }
Property Value
- string