aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Protobuf/CompilerFileResult.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-02-28 11:42:21 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-02-28 11:42:21 +0200
commitc726e1f7697d9f0fe8cff387dc64dd00c4980b82 (patch)
tree52d91153ee05a32a8ffcd42c4a9220cb7a517bca /Software/Visual_Studio/Tango.Protobuf/CompilerFileResult.cs
parent2f70caaf340063f90529c3302f2f2a78dda9d40c (diff)
downloadTango-c726e1f7697d9f0fe8cff387dc64dd00c4980b82.tar.gz
Tango-c726e1f7697d9f0fe8cff387dc64dd00c4980b82.zip
Change LogManager to Instance.
Diffstat (limited to 'Software/Visual_Studio/Tango.Protobuf/CompilerFileResult.cs')
-rw-r--r--Software/Visual_Studio/Tango.Protobuf/CompilerFileResult.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Software/Visual_Studio/Tango.Protobuf/CompilerFileResult.cs b/Software/Visual_Studio/Tango.Protobuf/CompilerFileResult.cs
index feef53b9a..096caaa21 100644
--- a/Software/Visual_Studio/Tango.Protobuf/CompilerFileResult.cs
+++ b/Software/Visual_Studio/Tango.Protobuf/CompilerFileResult.cs
@@ -14,6 +14,8 @@ namespace Tango.Protobuf
/// <seealso cref="Tango.Protobuf.ICompilerResult" />
public class CompilerFileResult : ICompilerResult
{
+ private LogManager logManager = LogManager.Default;
+
/// <summary>
/// Gets the result language.
/// </summary>
@@ -61,7 +63,7 @@ namespace Tango.Protobuf
/// <param name="folder">The folder.</param>
public void Save(String folder)
{
- LogManager.Log("Saving " + Path.Combine(folder, Name) + "...");
+ logManager.Log("Saving " + Path.Combine(folder, Name) + "...");
Directory.CreateDirectory(folder);
File.WriteAllText(Path.Combine(folder, Name), Content);