Class NullTracker
Provides a tracker that sends nothing: it logs each batch of events at Debug, as JSON, to VhLogger, whatever its
switch and logger.
public class NullTracker : TrackerBase, ITracker
- Inheritance
-
NullTracker
- Implements
- Inherited Members
Methods
Track(IEnumerable<TrackEvent>, CancellationToken)
Sends events.
public override Task Track(IEnumerable<TrackEvent> trackEvents, CancellationToken cancellationToken)
Parameters
trackEventsIEnumerable<TrackEvent>The events.
cancellationTokenCancellationTokenThe token to monitor for cancellation requests.
Returns
- Task
A task that represents the asynchronous operation.
Remarks
It logs the events, with their parameters as text, and sends nothing.