DefaultTraceListener.WriteLine Method

Writes a message to the listener, followed by a line terminator.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Supported by the XNA Framework WriteLine(Object) Writes the value of the object's ToString method to the listener you create when you implement the TraceListener class, followed by a line terminator. (Inherited from TraceListener.)
Public method Supported by the XNA Framework WriteLine(String) Writes the output to the OutputDebugString function and to the Debugger.Log method, followed by a carriage return and line feed (\r\n). (Overrides TraceListener.WriteLine(String).)
Public method Supported by the XNA Framework WriteLine(Object, String) Writes a category name and the value of the object's ToString method to the listener you create when you implement the TraceListener class, followed by a line terminator. (Inherited from TraceListener.)
Public method Supported by the XNA Framework WriteLine(String, String) Writes a category name and a message to the listener you create when you implement the TraceListener class, followed by a line terminator. (Inherited from TraceListener.)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft