/// <summary> /// Stops a registered <see cref="ILogEndpoint" /> from receiving log events from this <see cref="LogService" />. /// </summary> /// <param name="endpoint"> The <see cref="ILogEndpoint" />. </param> public void UnregisterEndpoint(ILogEndpoint endpoint) { this.LogMessage -= endpoint.Log; }
/// <summary> /// Stops a registered <see cref="ILogEndpoint" /> from receiving internal log events from this /// <see cref="LogService" />. /// </summary> /// <param name="endpoint"> The <see cref="ILogEndpoint" />. </param> public void UnregisterInternalEndpoint(ILogEndpoint endpoint) { this.LogInternalMessage -= endpoint.Log; }
/// <summary> /// Registers an <see cref="ILogEndpoint" /> to receive log events from this <see cref="LogService" />. /// </summary> /// <param name="endpoint"> The <see cref="ILogEndpoint" />. </param> public void RegisterEndpoint(ILogEndpoint endpoint) { this.LogMessage += endpoint.Log; }