You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by bo...@apache.org on 2011/09/16 11:37:47 UTC

svn commit: r1171474 - /logging/log4net/trunk/src/Appender/RollingFileAppender.cs

Author: bodewig
Date: Fri Sep 16 09:37:47 2011
New Revision: 1171474

URL: http://svn.apache.org/viewvc?rev=1171474&view=rev
Log:
comment out crefs to UniversalDateTime for .NET 1.0

Modified:
    logging/log4net/trunk/src/Appender/RollingFileAppender.cs

Modified: logging/log4net/trunk/src/Appender/RollingFileAppender.cs
URL: http://svn.apache.org/viewvc/logging/log4net/trunk/src/Appender/RollingFileAppender.cs?rev=1171474&r1=1171473&r2=1171474&view=diff
==============================================================================
--- logging/log4net/trunk/src/Appender/RollingFileAppender.cs (original)
+++ logging/log4net/trunk/src/Appender/RollingFileAppender.cs Fri Sep 16 09:37:47 2011
@@ -242,8 +242,10 @@ namespace log4net.Appender
 		/// <summary>
 		/// Gets or sets the strategy for determining the current date and time. The default
 		/// implementation is to use LocalDateTime which internally calls through to DateTime.Now. 
+#if !NET_1_0
 		/// DateTime.UtcNow may be used on frameworks newer than .NET 1.0 by specifying
 		/// <see cref="RollingFileAppender.UniversalDateTime"/>.
+#endif
 		/// </summary>
 		/// <value>
 		/// An implementation of the <see cref="RollingFileAppender.IDateTime"/> interface which returns the current date and time.
@@ -254,8 +256,11 @@ namespace log4net.Appender
 		/// </para>
 		/// <para>
 		/// There are two built strategies for determining the current date and time, 
-		/// <see cref="RollingFileAppender.LocalDateTime"/> and <see cref="RollingFileAppender.UniversalDateTime"/>.
-		/// </para>
+		/// <see cref="RollingFileAppender.LocalDateTime"/>
+#if !NET_1_0
+        /// and <see cref="RollingFileAppender.UniversalDateTime"/>.
+#endif
+        /// </para>
 		/// <para>
 		/// The default strategy is <see cref="RollingFileAppender.LocalDateTime"/>.
 		/// </para>