Interface IActivityMonitorBoundClient
Specialized IActivityMonitorClient that is bound to one IActivityMonitor. Clients that can not be registered into multiple outputs (and receive logs from multiple monitors at the same time) should implement this interface in order to control their registration/un-registration.
Inherited Members
Namespace: CK.Core
Assembly: CK.ActivityMonitor.dll
Syntax
public interface IActivityMonitorBoundClient : IActivityMonitorClient
Properties
| Improve this Doc View SourceIsDead
Gets whether this client is dead: it should be removed from the source activity monitor's clients. It should obviously defaults to false (and once true should remain true). Implementations should call SignalChange() to on its current source to trigger the removal.
Declaration
bool IsDead { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
MinimalFilter
Gets the minimal log level that this Client expects. Should default to Undefined if this client has no filtering requirements.
Declaration
LogFilter MinimalFilter { get; }
Property Value
| Type | Description |
|---|---|
| LogFilter |
Methods
| Improve this Doc View SourceSetMonitor(IActivityMonitorImpl, Boolean)
Called by IActivityMonitorOutput when registering or unregistering this client.
Declaration
void SetMonitor(IActivityMonitorImpl source, bool forceBuggyRemove)
Parameters
| Type | Name | Description |
|---|---|---|
| IActivityMonitorImpl | source | The monitor that will send log. |
| Boolean | forceBuggyRemove | True if this client must be removed because one of its method thrown an exception. The source is null. |