aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Logging/LogManager.cs
diff options
context:
space:
mode:
authorRoy <roy.mail.net@gmail.com>2018-02-20 00:03:51 +0200
committerRoy <roy.mail.net@gmail.com>2018-02-20 00:03:51 +0200
commit1a573aaa346ec4b8bd58a0e35ab9df571a09b855 (patch)
tree18055974ba06b0b1282955a2160e1fad5dd21bcc /Software/Visual_Studio/Tango.Logging/LogManager.cs
parent160ec4042539e69a7494bcde5c893c6dffcbf1b6 (diff)
downloadTango-1a573aaa346ec4b8bd58a0e35ab9df571a09b855.tar.gz
Tango-1a573aaa346ec4b8bd58a0e35ab9df571a09b855.zip
Added logs to developer module!
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 60ccccc34..5518c520d 100644
--- a/Software/Visual_Studio/Tango.Logging/LogManager.cs
+++ b/Software/Visual_Studio/Tango.Logging/LogManager.cs
@@ -115,6 +115,15 @@ namespace Tango.Logging
/// Add new message log item.
/// </summary>
/// <param name="message">Message.</param>
+ 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);
+ }
+
+ /// <summary>
+ /// Add new message log item.
+ /// </summary>
+ /// <param name="message">Message.</param>
public static String Log(String message, [CallerMemberName] string caller = null, [CallerFilePath] string file = null, [CallerLineNumber] int lineNumber = 0)
{
return Log(message, LogCategory.General, caller, file, lineNumber);