Class ActivityMonitorBridge
Inheritance
ActivityMonitorBridge
Assembly: CK.ActivityMonitor.dll
Syntax
public sealed class ActivityMonitorBridge : IActivityMonitorBoundClient, IActivityMonitorClient, IActivityMonitorBridgeCallback
Constructors
|
Improve this Doc
View Source
ActivityMonitorBridge(ActivityMonitorBridgeTarget, Boolean, Boolean, Boolean)
Declaration
public ActivityMonitorBridge(ActivityMonitorBridgeTarget bridge, bool pullTargetTopicAndAutoTagsFromTarget, bool pushTopicAndAutoTagsToTarget, bool applyTargetFilterToUnfilteredLogs = false)
Parameters
| Type |
Name |
Description |
| ActivityMonitorBridgeTarget |
bridge |
The target bridge.
|
| Boolean |
pullTargetTopicAndAutoTagsFromTarget |
When true, the Topic and AutoTags are automaticaly updated whenever they change on the target monitor.
|
| Boolean |
pushTopicAndAutoTagsToTarget |
When true, any change to Topic or AutoTags are applied to the target monitor.
|
| Boolean |
applyTargetFilterToUnfilteredLogs |
True to avoid sending logs with level below the target MinimalFilter (when HonorMonitorFilter is true
and it is an unfiltered line or group log).
This is an optimization that can be used to send less data to the target monitor but breaks the UnfilteredLog/UnfilteredOpenGroup contract.
|
Fields
|
Improve this Doc
View Source
TagBridgePrematureClose
Tags group conclusions emitted because of premature (unbalanced) removing of a bridge from a source monitor.
Declaration
public static readonly CKTrait TagBridgePrematureClose
Field Value
| Type |
Description |
| CK.Core.CKTrait |
|
Properties
|
Improve this Doc
View Source
BridgeTarget
Declaration
public ActivityMonitorBridgeTarget BridgeTarget { get; }
Property Value
|
Improve this Doc
View Source
Gets whether this bridge updates the Topic and AutoTags of its monitor whenever
they change on the target monitor.
Declaration
public bool PullTopicAndAutoTagsFromTarget { get; }
Property Value
|
Improve this Doc
View Source
TargetMonitor
Declaration
public IActivityMonitor TargetMonitor { get; }
Property Value
Explicit Interface Implementations
|
Improve this Doc
View Source
IActivityMonitorBoundClient.IsDead
Declaration
bool IActivityMonitorBoundClient.IsDead { get; }
Returns
Implements
|
Improve this Doc
View Source
IActivityMonitorBoundClient.MinimalFilter
Declaration
LogFilter IActivityMonitorBoundClient.MinimalFilter { get; }
Returns
Implements
|
Improve this Doc
View Source
IActivityMonitorBoundClient.SetMonitor(IActivityMonitorImpl, Boolean)
forceBuggyRemove is not used here since this client is not lockable.
Declaration
void IActivityMonitorBoundClient.SetMonitor(IActivityMonitorImpl source, bool forceBuggyRemove)
Parameters
Implements
|
Improve this Doc
View Source
Declaration
void IActivityMonitorClient.OnAutoTagsChanged(CKTrait newTags)
Parameters
| Type |
Name |
Description |
| CK.Core.CKTrait |
newTags |
|
Implements
|
Improve this Doc
View Source
IActivityMonitorClient.OnGroupClosed(IActivityLogGroup, IReadOnlyList<ActivityLogGroupConclusion>)
Declaration
void IActivityMonitorClient.OnGroupClosed(IActivityLogGroup group, IReadOnlyList<ActivityLogGroupConclusion> conclusions)
Parameters
Implements
|
Improve this Doc
View Source
IActivityMonitorClient.OnGroupClosing(IActivityLogGroup, ref List<ActivityLogGroupConclusion>)
Declaration
void IActivityMonitorClient.OnGroupClosing(IActivityLogGroup group, ref List<ActivityLogGroupConclusion> conclusions)
Parameters
Implements
|
Improve this Doc
View Source
IActivityMonitorClient.OnOpenGroup(IActivityLogGroup)
Declaration
void IActivityMonitorClient.OnOpenGroup(IActivityLogGroup group)
Parameters
Implements
|
Improve this Doc
View Source
IActivityMonitorClient.OnTopicChanged(String, String, Int32)
Declaration
void IActivityMonitorClient.OnTopicChanged(string newTopic, string fileName, int lineNumber)
Parameters
Implements
|
Improve this Doc
View Source
IActivityMonitorClient.OnUnfilteredLog(ActivityMonitorLogData)
Declaration
void IActivityMonitorClient.OnUnfilteredLog(ActivityMonitorLogData data)
Parameters
Implements