This commit is contained in:
2012-10-04 11:18:29 +00:00
parent 314046cd77
commit 2e18286a17
166 changed files with 225 additions and 0 deletions

View File

@@ -28,6 +28,14 @@ namespace VEPROMS.CSLA.Library
#region Log4Net
private static readonly log4net.ILog _MyLog = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
#endregion
private static int _DefaultTimeout = 600; // 600 seconds, i.e. 10 minutes
public static int DefaultTimeout
{
get { return _DefaultTimeout; }
set { _DefaultTimeout = value; }
}
public static void LogException(string s, Exception ex)
{
int i = 0;