Skip to content

Commit 2704e77

Browse files
committed
Fix remaining VS messages in Signal-Windows.Lib
1 parent a9e4f8e commit 2704e77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Signal-Windows.Lib/SignalLogging.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,12 @@ public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Except
9595

9696
public class SignalFileLoggerProvider : ILoggerProvider
9797
{
98-
private static string UILog = ApplicationData.Current.LocalCacheFolder.Path + @"\Signal-Windows.ui.log";
98+
private static readonly string UILog = ApplicationData.Current.LocalCacheFolder.Path + @"\Signal-Windows.ui.log";
9999
private readonly string Filename;
100100
private readonly string OldFilename;
101101
private readonly string Prefix;
102102
private const int MaxLogSize = 256 * 1024;
103-
private static object Lock = new object();
103+
private static readonly object Lock = new object();
104104

105105
public SignalFileLoggerProvider(string filename, string prefix)
106106
{

0 commit comments

Comments
 (0)