Редактиране

Споделяне чрез


FileLogTraceListener.Write(String) Method

Definition

Writes a verbatim message to disk, without any additional context information.

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

Parameters

message
String

String. The custom message to write.

Remarks

The Write 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