< Summary

Information
Class: Elsa.Diagnostics.StructuredLogs.Models.StructuredLogFilter
Assembly: Elsa.Diagnostics.StructuredLogs
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Diagnostics.StructuredLogs/Models/StructuredLogFilter.cs
Line coverage
100%
Covered lines: 14
Uncovered lines: 0
Coverable lines: 14
Total lines: 19
Line coverage: 100%
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_MinimumLevel()100%11100%
get_Levels()100%11100%
get_CategoryPrefix()100%11100%
get_Text()100%11100%
get_TenantId()100%11100%
get_WorkflowDefinitionId()100%11100%
get_WorkflowInstanceId()100%11100%
get_TraceId()100%11100%
get_SpanId()100%11100%
get_CorrelationId()100%11100%
get_SourceId()100%11100%
get_From()100%11100%
get_To()100%11100%
get_Take()100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Diagnostics.StructuredLogs/Models/StructuredLogFilter.cs

#LineLine coverage
 1namespace Elsa.Diagnostics.StructuredLogs.Models;
 2
 3public record StructuredLogFilter
 4{
 215    public StructuredLogLevel? MinimumLevel { get; init; }
 196    public ICollection<StructuredLogLevel>? Levels { get; init; }
 217    public string? CategoryPrefix { get; init; }
 228    public string? Text { get; init; }
 199    public string? TenantId { get; init; }
 1810    public string? WorkflowDefinitionId { get; init; }
 1911    public string? WorkflowInstanceId { get; init; }
 1912    public string? TraceId { get; init; }
 1913    public string? SpanId { get; init; }
 1914    public string? CorrelationId { get; init; }
 2215    public string? SourceId { get; init; }
 1616    public DateTimeOffset? From { get; init; }
 1617    public DateTimeOffset? To { get; init; }
 518    public int? Take { get; init; }
 19}