/// <summary> /// Removes a reactor from this Logger. /// </summary> /// <param name="reactor">The reactor to remove.</param> /// <returns>Returns true on success.</returns> public bool RemoveReactor(ILogReactor reactor) { lock (_reactors) { return(_reactors.Remove(reactor)); } }
/// <summary> /// Installs a reactor into this Logger. /// </summary> /// <param name="reactor">The reactor object.</param> public void InstallReactor(ILogReactor reactor) { lock (m_Reactors) { m_Reactors.Add(reactor); } }
/// <summary> /// Installs a reactor into this Logger. /// </summary> /// <param name="reactor">The reactor object.</param> public void InstallReactor(ILogReactor reactor) { lock (_reactors) { _reactors.Add(reactor); } // set our default reactor flag to true if the user installs their own reactors. _bInstalledDefaultReactors = true; }