Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class Microsoft.​IdentityModel.​Logging.​TextWriterEventListener

Assembly: Microsoft.IdentityModel.Logging

Inheritance: object → System.​Diagnostics.​Tracing.​EventListener → TextWriterEventListener

Implemented Interfaces

Event listener that writes logs to a file or a fileStream provided by user.

Fields and Constants

public static readonly string
DefaultLogFileName
Name of the default log file, excluding its path.

Methods

protected void
OnEventWritten​(System.​Diagnostics.​Tracing.​EventWrittenEventArgs eventData)
Called whenever an event has been written by an event source for which the event listener has enabled events.
eventData <see cref="T:System.Diagnostics.Tracing.EventWrittenEventArgs" />
public void
Dispose​()
Releases all resources used by the current instance of the <see cref="T:Microsoft.IdentityModel.Logging.TextWriterEventListener" /> class.
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object