logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r1171552 - in /logging/log4net/trunk/src: Core/LocationInfo.cs Layout/Pattern/StackTraceDetailPatternConverter.cs Layout/Pattern/StackTracePatternConverter.cs Layout/PatternLayout.cs
Date Fri, 16 Sep 2011 13:36:33 GMT
Author: bodewig
Date: Fri Sep 16 13:36:33 2011
New Revision: 1171552

URL: http://svn.apache.org/viewvc?rev=1171552&view=rev
Log:
There is no StrackFrame type in Compact Framework

Modified:
    logging/log4net/trunk/src/Core/LocationInfo.cs
    logging/log4net/trunk/src/Layout/Pattern/StackTraceDetailPatternConverter.cs
    logging/log4net/trunk/src/Layout/Pattern/StackTracePatternConverter.cs
    logging/log4net/trunk/src/Layout/PatternLayout.cs

Modified: logging/log4net/trunk/src/Core/LocationInfo.cs
URL: http://svn.apache.org/viewvc/logging/log4net/trunk/src/Core/LocationInfo.cs?rev=1171552&r1=1171551&r2=1171552&view=diff
==============================================================================
--- logging/log4net/trunk/src/Core/LocationInfo.cs (original)
+++ logging/log4net/trunk/src/Core/LocationInfo.cs Fri Sep 16 13:36:33 2011
@@ -271,6 +271,7 @@ namespace log4net.Core
 			get { return m_fullInfo; }
 		}
 		
+#if !NETCF
 		/// <summary>
 		/// Gets the stack frames from the stack trace of the caller making the log request
 		/// </summary>
@@ -278,6 +279,7 @@ namespace log4net.Core
 		{
 			get { return m_stackFrames; }
 		}
+#endif
 
 		#endregion Public Instance Properties
 

Modified: logging/log4net/trunk/src/Layout/Pattern/StackTraceDetailPatternConverter.cs
URL: http://svn.apache.org/viewvc/logging/log4net/trunk/src/Layout/Pattern/StackTraceDetailPatternConverter.cs?rev=1171552&r1=1171551&r2=1171552&view=diff
==============================================================================
--- logging/log4net/trunk/src/Layout/Pattern/StackTraceDetailPatternConverter.cs (original)
+++ logging/log4net/trunk/src/Layout/Pattern/StackTraceDetailPatternConverter.cs Fri Sep 16
13:36:33 2011
@@ -18,6 +18,7 @@
  * under the License.
  *
 */
+#if !NETCF
 
 using System;
 using System.Collections;
@@ -109,3 +110,4 @@ namespace log4net.Layout.Pattern
         #endregion Private Static Fields
     }
 }
+#endif
\ No newline at end of file

Modified: logging/log4net/trunk/src/Layout/Pattern/StackTracePatternConverter.cs
URL: http://svn.apache.org/viewvc/logging/log4net/trunk/src/Layout/Pattern/StackTracePatternConverter.cs?rev=1171552&r1=1171551&r2=1171552&view=diff
==============================================================================
--- logging/log4net/trunk/src/Layout/Pattern/StackTracePatternConverter.cs (original)
+++ logging/log4net/trunk/src/Layout/Pattern/StackTracePatternConverter.cs Fri Sep 16 13:36:33
2011
@@ -16,7 +16,7 @@
 // limitations under the License.
 //
 #endregion
-
+#if !NETCF
 using System;
 using System.IO;
 using System.Diagnostics;
@@ -147,3 +147,4 @@ namespace log4net.Layout.Pattern
 	    #endregion Private Static Fields
 	}
 }
+#endif
\ No newline at end of file

Modified: logging/log4net/trunk/src/Layout/PatternLayout.cs
URL: http://svn.apache.org/viewvc/logging/log4net/trunk/src/Layout/PatternLayout.cs?rev=1171552&r1=1171551&r2=1171552&view=diff
==============================================================================
--- logging/log4net/trunk/src/Layout/PatternLayout.cs (original)
+++ logging/log4net/trunk/src/Layout/PatternLayout.cs Fri Sep 16 13:36:33 2011
@@ -860,8 +860,10 @@ namespace log4net.Layout
 			s_globalRulesRegistry.Add("r", typeof(RelativeTimePatternConverter));
 			s_globalRulesRegistry.Add("timestamp", typeof(RelativeTimePatternConverter));
 			
+#if !NETCF
 			s_globalRulesRegistry.Add("stacktrace", typeof(StackTracePatternConverter));
             s_globalRulesRegistry.Add("stacktracedetail", typeof(StackTraceDetailPatternConverter));
+#endif
 
 			s_globalRulesRegistry.Add("t", typeof(ThreadPatternConverter));
 			s_globalRulesRegistry.Add("thread", typeof(ThreadPatternConverter));



Mime
View raw message