Rediger

Del via


FileLogTraceListener.WriteLine(String) Method

Definition

Writes a verbatim message to disk, followed by the current line terminator, without any additional context information.

public:
 override void WriteLine(System::String ^ message);
public override void WriteLine (string message);
override this.WriteLine : string -> unit
Public Overrides Sub WriteLine (message As String)

Parameters

message
String

String. The custom message to write.

Remarks

The WriteLine method writes a specific message to the log file, without any additional context information.

Use the one of the TraceData methods to include the context information in the log output.

Applies to

See also