Click or drag to resize

DiagnosticTracerBaseWrite Method

Handles inbound events and converts the diagnostic data to a strongly-typed object that can be handled by the other methods in this observer.

Namespace:  Autofac.Diagnostics
Assembly:  Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
Syntax
protected virtual void Write(
	string diagnosticName,
	Object data
)

Parameters

diagnosticName
Type: SystemString
The name of the event that was raised. Diagnostic names are case-sensitive.
data
Type: SystemObject
The diagnostic data associated with the event.
Remarks

If you are interested in handling custom events, check out the top-level DiagnosticTracerBase documentation which discusses some options.

See Also