Skip to content

Commit

Permalink
Implement "Always Append" option
Browse files Browse the repository at this point in the history
  • Loading branch information
bartlomiejwolk committed May 2, 2015
1 parent 05915e1 commit e193743
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Logger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ public sealed class Logger : MonoBehaviour {
// Write log to file when 'enableOnPlay' was selected.
if (enableOnPlay) {
// Write single message to the file.
logWriter.WriteAll(filePath, append);
logWriter.WriteAll(FilePath, Append);
}
}

Expand Down Expand Up @@ -290,7 +290,7 @@ public sealed class Logger : MonoBehaviour {
if (Instance.LogInRealTime) return;

// Save messages to file on logger stop.
if (!state) LogWriter.WriteAll(FilePath, false);
if (!state) LogWriter.WriteAll(FilePath, Append);
}
#endregion

Expand Down Expand Up @@ -458,8 +458,8 @@ public sealed class Logger : MonoBehaviour {

// Write single message to the file.
Instance.logWriter.WriteAll(
Instance.filePath,
Instance.append);
Instance.FilePath,
Instance.Append);
}

/// <summary>
Expand Down

0 comments on commit e193743

Please sign in to comment.