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)

[HostProtectionAttribute(SecurityAction.LinkDemand, Synchronization = true)]
public override void WriteLine(
	string 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