From ca293b80c52a54c73251fbf3cd50741fb5653ae9 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Sun, 15 Apr 2018 19:51:07 +0300 Subject: Lots Of Work ! --- Software/Visual_Studio/Tango.Logging/LogManager.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Software/Visual_Studio/Tango.Logging/LogManager.cs') diff --git a/Software/Visual_Studio/Tango.Logging/LogManager.cs b/Software/Visual_Studio/Tango.Logging/LogManager.cs index c654b646f..804fc14c5 100644 --- a/Software/Visual_Studio/Tango.Logging/LogManager.cs +++ b/Software/Visual_Studio/Tango.Logging/LogManager.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; +using System.Reflection; using System.Runtime.CompilerServices; using System.Text; using System.Threading; @@ -107,6 +108,7 @@ namespace Tango.Logging if (!Categories.Contains(category)) return e; ExceptionLogItem log = new ExceptionLogItem(); + log.CallerAssembly = Assembly.GetCallingAssembly().FullName; log.CallerMethodName = caller; log.CallerFile = file; log.CallerLineNumber = lineNumber; @@ -164,6 +166,7 @@ namespace Tango.Logging if (!Categories.Contains(category)) return message; MessageLogItem log = new MessageLogItem(); + log.CallerAssembly = Assembly.GetCallingAssembly().FullName; log.CallerMethodName = caller; log.CallerFile = file; log.CallerLineNumber = lineNumber; -- cgit v1.3.1