< Summary

Information
Class: Elsa.Alterations.Core.Models.AlterationLogEntry
Assembly: Elsa.Alterations.Core
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Alterations.Core/Models/AlterationLogEntry.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 1
Coverable lines: 1
Total lines: 12
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_Message()100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Alterations.Core/Models/AlterationLogEntry.cs

#LineLine coverage
 1using Microsoft.Extensions.Logging;
 2
 3namespace Elsa.Alterations.Core.Models;
 4
 5/// <summary>
 6/// A log entry for an alteration.
 7/// </summary>
 8/// <param name="Message">The log message.</param>
 9/// <param name="LogLevel">The log level.</param>
 10/// <param name="Timestamp">The timestamp when the log entry was created.</param>
 11/// <param name="EventName">The event that generated the log entry.</param>
 012public record AlterationLogEntry(string Message, LogLevel LogLevel, DateTimeOffset Timestamp, string? EventName = null);

Methods/Properties

get_Message()