CK.Core.ActivityMonitorBridge.ActivityMonitorBridge C# (CSharp) Method

ActivityMonitorBridge() public method

Initialize a new ActivityMonitorBridge bound to an existing ActivityMonitorBridgeTarget This Client should be registered in the IActivityMonitor.Output of a local monitor.
public ActivityMonitorBridge ( ActivityMonitorBridgeTarget bridge, bool pullTargetTopicAndAutoTagsFromTarget, bool pushTopicAndAutoTagsToTarget, bool applyTargetFilterToUnfilteredLogs = false ) : System
bridge ActivityMonitorBridgeTarget The target bridge.
pullTargetTopicAndAutoTagsFromTarget bool /// When true, the and are automaticaly updated whenever they change on the target monitor. ///
pushTopicAndAutoTagsToTarget bool /// When true, any change to or are applied to the target monitor. ///
applyTargetFilterToUnfilteredLogs bool /// True to avoid sending logs with level below the target (when 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. ///
return System
        public ActivityMonitorBridge( ActivityMonitorBridgeTarget bridge, bool pullTargetTopicAndAutoTagsFromTarget, bool pushTopicAndAutoTagsToTarget, bool applyTargetFilterToUnfilteredLogs = false )
        {
            if( bridge == null ) throw new ArgumentNullException( "bridge" );
            _bridgeTarget = bridge;
            _pullTargetTopicAndAutoTagsFromTarget = pullTargetTopicAndAutoTagsFromTarget;
            _pushTopicAndAutoTagsToTarget = pushTopicAndAutoTagsToTarget;
            _applyTargetFilterToUnfilteredLogs = applyTargetFilterToUnfilteredLogs;
            _targetMonitor = _bridgeTarget.TargetMonitor;
            _openedGroups = new List<bool>();
        }