Table of Contents

Class LogReportData

Namespace
Invex.Atom.Build.Reports
Assembly
Invex.Atom.Build.dll

Represents a log message captured for inclusion in a build report.

public sealed record LogReportData : IReportData
Inheritance
object
LogReportData
Implements

Remarks

This data is automatically collected by Invex.Atom.Build.Logging.ReportLogger for messages at Warning level and above. Secrets are automatically masked.

Constructors

LogReportData(string, Exception?, LogLevel, DateTimeOffset)

Represents a log message captured for inclusion in a build report.

public LogReportData(string Message, Exception? Exception, LogLevel Level, DateTimeOffset Timestamp)

Parameters

Message string

The log message text.

Exception Exception

The associated exception, if any.

Level LogLevel

The severity level of the log entry.

Timestamp DateTimeOffset

The time the log entry was created.

Remarks

This data is automatically collected by Invex.Atom.Build.Logging.ReportLogger for messages at Warning level and above. Secrets are automatically masked.

Properties

Exception

The associated exception, if any.

public Exception? Exception { get; init; }

Property Value

Exception

Level

The severity level of the log entry.

public LogLevel Level { get; init; }

Property Value

LogLevel

Message

The log message text.

public string Message { get; init; }

Property Value

string

Timestamp

The time the log entry was created.

public DateTimeOffset Timestamp { get; init; }

Property Value

DateTimeOffset