logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r1167469 - /logging/log4net/trunk/src/Core/DefaultRepositorySelector.cs
Date Sat, 10 Sep 2011 06:33:34 GMT
Author: bodewig
Date: Sat Sep 10 06:33:34 2011
New Revision: 1167469

URL: http://svn.apache.org/viewvc?rev=1167469&view=rev
Log:
TryParse is available on Mono as well

Modified:
    logging/log4net/trunk/src/Core/DefaultRepositorySelector.cs

Modified: logging/log4net/trunk/src/Core/DefaultRepositorySelector.cs
URL: http://svn.apache.org/viewvc/logging/log4net/trunk/src/Core/DefaultRepositorySelector.cs?rev=1167469&r1=1167468&r2=1167469&view=diff
==============================================================================
--- logging/log4net/trunk/src/Core/DefaultRepositorySelector.cs (original)
+++ logging/log4net/trunk/src/Core/DefaultRepositorySelector.cs Sat Sep 10 06:33:34 2011
@@ -705,7 +705,7 @@ namespace log4net.Core
 
                     // Determine whether to watch the file or not based on an app setting
value:
 				    bool watchRepositoryConfigFile = false;
-#if NET_2_0
+#if NET_2_0 || MONO_2_0
 				    Boolean.TryParse(SystemInfo.GetAppSetting("log4net.Config.Watch"), out watchRepositoryConfigFile);
 #else
                                     {



Mime
View raw message