/// <summary>
 /// Method to register trace logger
 /// </summary>
 /// <param name="traceLogger"></param>
 public static void RegisterTraceLogger(TraceLoggerBase traceLogger)
 {
     lock (logLock)
     {
         refreshListenerObject += new RefreshListenerDelegate(traceLogger.RefreshListeners);
     }
 }
 /// <summary>
 /// Method to un register trace logger
 /// </summary>
 /// <param name="traceLogger"></param>
 public static void UnRegisterTraceLogger(TraceLoggerBase traceLogger)
 {
     lock (logLock)
     {
         if (refreshListenerObject != null)
         {
             refreshListenerObject -= new RefreshListenerDelegate(traceLogger.RefreshListeners);
         }
     }
 }