[tomboy] Marking Logger.Log as obsolete, according to the method comments



commit 4b4b7e32eab8869a44be8467bc164a6fc7ed8668
Author: Benjamin.Podszun <benjamin podszun gmail com>
Date:   Wed Apr 29 16:56:41 2009 +0200

    Marking Logger.Log as obsolete, according to the method comments
---
 Tomboy/Logger.cs |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/Tomboy/Logger.cs b/Tomboy/Logger.cs
index e4b8b25..26b1287 100644
--- a/Tomboy/Logger.cs
+++ b/Tomboy/Logger.cs
@@ -1,5 +1,6 @@
 using System;
 using System.IO;
+using System.Runtime.InteropServices;
 
 namespace Tomboy
 {
@@ -137,6 +138,8 @@ namespace Tomboy
 		// This is here to support the original logging, but it should be
 		// considered deprecated and old code that uses it should be upgraded to
 		// call one of the level specific log methods.
+		[Obsolete("Loger.Log is deprecated and should be replaced " +
+			"with calls to the level specific log methods")]
 		public static void Log (string msg, params object[] args)
 		{
 			Log (Level.DEBUG, msg, args);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]