Skip to content

Commit

Permalink
avoid runtime change of _syncObject in logger
Browse files Browse the repository at this point in the history
  • Loading branch information
devnulli committed Mar 12, 2022
1 parent 0e950cc commit dafb7b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/EvlWatcher/EvlWatcher/Logging/DefaultLogger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace EvlWatcher.Logging
{
internal class DefaultLogger : ILogger
{
private object _syncObject = new object();
private readonly object _syncObject = new object();
public SeverityLevel LogLevel { get; set; } = SeverityLevel.Warning;

private int ConsoleHistoryMaxCount { get; set; } = 1000;
Expand Down

0 comments on commit dafb7b0

Please sign in to comment.