Skip to content
TrackPodcasts
technologyJan 18, 202416:58pending

Using Diagnostic Observers to Decouple Logging and Observability Code

About this episode

This story was originally published on HackerNoon at: https://hackernoon.com/using-diagnostic-observers-to-decouple-logging-and-observability-code.
Using DiagnosticSource and IObserver implementation to decouple logging code; improving the method adapter to properly handle event data binding.
Check more stories related to programming at: https://hackernoon.com/c/programming. You can also check exclusive content about #logging, #.net, #observability, #c-sharp, #diagnostic-observers, #decouple-logging, #observability-code-decoupling, #diagnosticsource-guide, and more.

This story was written by: @dmitriislabko. Learn more about this writer by checking @dmitriislabko's about page, and for more stories, please visit hackernoon.com.

This article reviews the observability feature in Microsoft libraries provided by DiagnosticSource class, goes over implementation details and specifics how to receive and handle the diagnostic events. It explores the Microsoft's method adapter package to solve event property binding to method parameters, and proposes a solution to its issues, thus making the approach more usable.

Get every episode summarized

Each time Programming Tech Brief By HackerNoon publishes, we email you a written briefing from the transcript — the topics, who appeared, and any specific claims, with the ad reads skipped.

Email me new episodes

Free for 3 shows. No card needed.

Hosts & guests

No transcript yet

This episode has not been transcribed. Request it and it moves to the front of the queue.

Using Diagnostic Observers to Decouple Logging and Observability Code

Programming Tech Brief By HackerNoon

0:00
16:58

More episodes

More from Programming Tech Brief By HackerNoon

View all episodes →