protected void LogMessage(string message)
 {
     if (EnableDevelopmentLog)
     {
         try { LogEngine.LogMessage(logInfo, fileLogInfo, message); }
         catch
         {
             // YOU CAN LOG TO THE EVENT VIEWER HERE
         }
     }
 }
 protected void LogMessage(Exception ex)
 {
     if (EnableDevelopmentLog)
     {
         try { LogEngine.LogMessage(logInfo, fileLogInfo, ex); }
         catch
         {
             // YOU CAN LOG TO THE EVENT VIEWER HERE
         }
     }
 }