Use EventSource / DiagnosticSource to emit library "logging" from the distribution code. We should implement a listener which logs to a file in a default location.
In a (separate) library, we could include an ILogger implementation that listens to events and logs them. This should also listen to OpenTelemetry EventSources so that these can be included in diagnostic logging.
This is an important element to make this agent easy to support.
Use
EventSource/DiagnosticSourceto emit library "logging" from the distribution code. We should implement a listener which logs to a file in a default location.In a (separate) library, we could include an ILogger implementation that listens to events and logs them. This should also listen to OpenTelemetry
EventSources so that these can be included in diagnostic logging.This is an important element to make this agent easy to support.