FileLogTraceListener::Write Method (String^)

 

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

Namespace:   Microsoft.VisualBasic.Logging
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

public:
[HostProtectionAttribute(SecurityAction::LinkDemand, Synchronization = true)]
virtual void Write(
	String^ message
) override

Parameters

message
Type: System::String^

String. The custom message to write.

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.

.NET Framework
Available since 2.0
Return to top
Show: