Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

FileLogTraceListener::WriteLine Method (String^)

 

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

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

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

Parameters

message
Type: System::String^

String. The custom message to write.

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.

.NET Framework
Available since 2.0
Return to top
Show: