Class LogReportData
Represents a log message captured for inclusion in a build report.
public sealed record LogReportData : IReportData
- Inheritance
-
objectLogReportData
- 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
MessagestringThe log message text.
ExceptionExceptionThe associated exception, if any.
LevelLogLevelThe severity level of the log entry.
TimestampDateTimeOffsetThe 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