1
Vote

Add example using fluent interface for trace source

description

Fluent interfaces are popular, although personally I don't think there is such a huge difference between _source.TraceEvent(TraceEventType.Verbose, 0, "message") and _log.Verbose("message"), but I might as well go with the flow.

Besides, the implementation also helps encourage application specific event IDs for information/warning/error, so people think about them more.

comments