TextWriterEventListener Constructors

Definition

Overloads

TextWriterEventListener()

Initializes a new instance of TextWriterEventListener that writes logs to text file.

TextWriterEventListener(StreamWriter)

Initializes a new instance of TextWriterEventListener that writes logs to text file.

TextWriterEventListener(String)

Initializes a new instance of TextWriterEventListener that writes logs to text file.

TextWriterEventListener()

Initializes a new instance of TextWriterEventListener that writes logs to text file.

public TextWriterEventListener ();
Public Sub New ()

Applies to

TextWriterEventListener(StreamWriter)

Initializes a new instance of TextWriterEventListener that writes logs to text file.

public TextWriterEventListener (System.IO.StreamWriter streamWriter);
new Microsoft.IdentityModel.Logging.TextWriterEventListener : System.IO.StreamWriter -> Microsoft.IdentityModel.Logging.TextWriterEventListener
Public Sub New (streamWriter As StreamWriter)

Parameters

streamWriter
StreamWriter

StreamWriter where logs will be written.

Applies to

TextWriterEventListener(String)

Initializes a new instance of TextWriterEventListener that writes logs to text file.

public TextWriterEventListener (string filePath);
new Microsoft.IdentityModel.Logging.TextWriterEventListener : string -> Microsoft.IdentityModel.Logging.TextWriterEventListener
Public Sub New (filePath As String)

Parameters

filePath
String

location of the file where log messages will be written.

Applies to