From 1a573aaa346ec4b8bd58a0e35ab9df571a09b855 Mon Sep 17 00:00:00 2001 From: Roy Date: Tue, 20 Feb 2018 00:03:51 +0200 Subject: Added logs to developer module! --- Software/Visual_Studio/Tango.Logging/LogManager.cs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Software/Visual_Studio/Tango.Logging') diff --git a/Software/Visual_Studio/Tango.Logging/LogManager.cs b/Software/Visual_Studio/Tango.Logging/LogManager.cs index 60ccccc34..5518c520d 100644 --- a/Software/Visual_Studio/Tango.Logging/LogManager.cs +++ b/Software/Visual_Studio/Tango.Logging/LogManager.cs @@ -111,6 +111,15 @@ namespace Tango.Logging return e; } + /// + /// Add new message log item. + /// + /// Message. + public static String LogFormat(String message, object argument, [CallerMemberName] string caller = null, [CallerFilePath] string file = null, [CallerLineNumber] int lineNumber = 0) + { + return Log(String.Format(message, argument), LogCategory.General, caller, file, lineNumber); + } + /// /// Add new message log item. /// -- cgit v1.3.1