Method | Description | |
---|---|---|
LogListener ( EventLevel eventLevel ) : System.Diagnostics.Tracing |
Initializes a new instance of the LogListener class.
|
|
OnEventSourceCreated ( System.Diagnostics.Tracing.EventSource eventSource ) : void |
Called for all existing event sources when the event listener is created and when a new event source is attached to the listener. Enables log sources to the appropriate event level.
|
protected LogListener ( EventLevel eventLevel ) : System.Diagnostics.Tracing | ||
eventLevel | EventLevel | The event level. |
return | System.Diagnostics.Tracing |
protected OnEventSourceCreated ( System.Diagnostics.Tracing.EventSource eventSource ) : void | ||
eventSource | System.Diagnostics.Tracing.EventSource | The event source. |
return | void |