summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Services/Logging
diff options
context:
space:
mode:
authorsr55 <[email protected]>2017-02-11 20:37:33 +0000
committersr55 <[email protected]>2017-02-11 20:37:33 +0000
commit9ce3910fd193628e754abf4939c3758f1e57e100 (patch)
treebb7e367be99a36e85aa2c4beb1f45c243ae43c75 /win/CS/HandBrake.ApplicationServices/Services/Logging
parenta1455ea947b0f85665228f23d2f94f66bdad2cdd (diff)
WinGui: Fix a number of stylecop warnings.
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Services/Logging')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Services/Logging/LogService.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Services/Logging/LogService.cs b/win/CS/HandBrake.ApplicationServices/Services/Logging/LogService.cs
index 95a1ec515..ef869570a 100644
--- a/win/CS/HandBrake.ApplicationServices/Services/Logging/LogService.cs
+++ b/win/CS/HandBrake.ApplicationServices/Services/Logging/LogService.cs
@@ -33,7 +33,7 @@ namespace HandBrake.ApplicationServices.Services.Logging
// Make this class Thread Safe.
private static ILog loggerInstance;
private readonly object lockObject = new object();
- private readonly object FileWriterLock = new object();
+ private readonly object fileWriterLock = new object();
private readonly StringBuilder logBuilder = new StringBuilder();
private LogLevel currentLogLevel = LogLevel.Error;
@@ -198,7 +198,7 @@ namespace HandBrake.ApplicationServices.Services.Logging
this.isDiskLoggingEnabled = true;
this.deleteLogFirst = deleteCurrentLogFirst;
- lock (this.FileWriterLock)
+ lock (this.fileWriterLock)
{
this.fileWriter = new StreamWriter(logFile) { AutoFlush = true };
}
@@ -209,7 +209,7 @@ namespace HandBrake.ApplicationServices.Services.Logging
if (this.fileWriter != null)
{
- lock (this.FileWriterLock)
+ lock (this.fileWriterLock)
{
this.fileWriter.Flush();
this.fileWriter.Close();
@@ -252,7 +252,7 @@ namespace HandBrake.ApplicationServices.Services.Logging
try
{
- lock (this.FileWriterLock)
+ lock (this.fileWriterLock)
{
if (this.fileWriter != null)
{
@@ -299,7 +299,7 @@ namespace HandBrake.ApplicationServices.Services.Logging
try
{
- lock (this.FileWriterLock)
+ lock (this.fileWriterLock)
{
if (this.fileWriter != null && this.fileWriter.BaseStream.CanWrite)
{
@@ -335,7 +335,7 @@ namespace HandBrake.ApplicationServices.Services.Logging
{
try
{
- lock (this.FileWriterLock)
+ lock (this.fileWriterLock)
{
if (this.fileWriter != null)
{