Example #1
0
 /// <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;
 }
Example #2
0
 /// <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;
 }
Example #3
0
 /// <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;
 }