FileLogTraceListener.WriteLine(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.