Agent: Diagnostic logging
stevejgordon opened this issue · comments
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 EventSource
s so that these can be included in diagnostic logging.
This is an important element to make this agent easy to support.
Initial design and implementation added in #34.