Skip to content

Commit 805dae5

Browse files
authored
Merge pull request #12 from altso/sealed-logger
Seal LogDisplayLogger
2 parents 9031297 + 00141f1 commit 805dae5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Source/ExcelRna.Extensions.Logging/LogDisplayLogger.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace ExcelRna.Extensions.Logging;
77
/// <summary>
88
/// A logger that writes messages LogDisplay window.
99
/// </summary>
10-
internal class LogDisplayLogger : ILogger
10+
internal sealed class LogDisplayLogger : ILogger
1111
{
1212
private readonly string _name;
1313

@@ -20,7 +20,7 @@ public LogDisplayLogger(string name)
2020
_name = name;
2121
}
2222

23-
internal virtual Action<string, string[]> RecordLine { get; set; } = LogDisplay.RecordLine;
23+
internal Action<string, string[]> RecordLine { get; set; } = LogDisplay.RecordLine;
2424

2525
/// <inheritdoc />
2626
public bool IsEnabled(LogLevel logLevel) => logLevel != LogLevel.None;

0 commit comments

Comments
 (0)