You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ibatis.apache.org by gb...@apache.org on 2005/04/27 07:23:37 UTC
svn commit: r164948 -
/incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/SqlMapSession.cs
Author: gbayon
Date: Tue Apr 26 22:23:35 2005
New Revision: 164948
URL: http://svn.apache.org/viewcvs?rev=164948&view=rev
Log:
- Added IsInfoEnabled on logger
Modified:
incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/SqlMapSession.cs
Modified: incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/SqlMapSession.cs
URL: http://svn.apache.org/viewcvs/incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/SqlMapSession.cs?rev=164948&r1=164947&r2=164948&view=diff
==============================================================================
--- incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/SqlMapSession.cs (original)
+++ incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/SqlMapSession.cs Tue Apr 26 22:23:35 2005
@@ -404,7 +404,10 @@
}
catch(NotSupportedException e)
{
- _logger.Info(e.Message);
+ if (_logger.IsInfoEnabled)
+ {
+ _logger.Info(e.Message);
+ }
}
}