aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Logging/LogManager.cs
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-08-14 19:45:44 +0300
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-08-14 19:45:44 +0300
commit9d5f73560e6629634965291f7fe2895fa59e34ab (patch)
tree131d6cdc6b17aab85a16ff30da936ba5d3953b21 /Software/Visual_Studio/Tango.Logging/LogManager.cs
parentdc519b8dbd294a2a956f051bca63a30eb9c07986 (diff)
downloadTango-9d5f73560e6629634965291f7fe2895fa59e34ab.tar.gz
Tango-9d5f73560e6629634965291f7fe2895fa59e34ab.zip
Added application start logs viewing to FSE & PPC using LogSafe.
Diffstat (limited to 'Software/Visual_Studio/Tango.Logging/LogManager.cs')
-rw-r--r--Software/Visual_Studio/Tango.Logging/LogManager.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.Logging/LogManager.cs b/Software/Visual_Studio/Tango.Logging/LogManager.cs
index 55264164a..4148fa342 100644
--- a/Software/Visual_Studio/Tango.Logging/LogManager.cs
+++ b/Software/Visual_Studio/Tango.Logging/LogManager.cs
@@ -259,5 +259,14 @@ namespace Tango.Logging
NewLog?.Invoke(this, log);
}
}
+
+ /// <summary>
+ /// Creates a new log safe which can be used to keep logs and then be disposed.
+ /// </summary>
+ /// <returns></returns>
+ public LogSafe CreateLogSafe()
+ {
+ return new LogSafe(this);
+ }
}
}