/// <summary>
 /// Removes listener from subscribing to log events
 /// </summary>
 /// <param name="listener"></param>
 public void RemoveListener(ILogListener listener)
 {
     NiawaLogMessageEvent -= new NiawaLogMessageEventHandler(listener.ReceiveLogMessage);
 }
 /// <summary>
 /// Adds a listener to subscribe to any log events raised
 /// </summary>
 /// <param name="listener"></param>
 public void AddListener(ILogListener listener)
 {
     NiawaLogMessageEvent += new NiawaLogMessageEventHandler(listener.ReceiveLogMessage);
 }