Table of Contents

Class BatchJobLogEntry

Namespace
BiExcellence.OpenBi.Api.BatchJobs
Assembly
BiExcellence.OpenBi.Api.Client.dll

One log line written during a batch job run.

public sealed record BatchJobLogEntry : IBatchJobLogEntry
Inheritance
object
BatchJobLogEntry
Implements

Properties

Date

When the entry was written.

[JsonPropertyName("date")]
public 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.

[JsonPropertyName("id")]
public long? Id { get; init; }

Property Value

long?

JobId

The Id of the job that wrote the entry.

[JsonPropertyName("jobId")]
public int JobId { get; init; }

Property Value

int

JobLogId

The Id of the run the entry belongs to.

[JsonPropertyName("jobLogId")]
public 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.

[JsonPropertyName("level")]
public 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.

[JsonPropertyName("result")]
public int Result { get; init; }

Property Value

int

Text

The message, including the exception where one was logged.

[JsonPropertyName("text")]
public string? Text { get; init; }

Property Value

string