Mono Class Library: System.Diagnostics.Trace Overview | Members

System.Diagnostics.Trace.WriteLine Method

Send message and its category message to all System.Diagnostics.TraceListener objects in the Trace.Listeners collection. [Edit]

[System.Diagnostics.Conditional("TRACE")]
public static void WriteLine (string message, string category)

Parameters

message
A message to display [Edit]
category
The message category [Edit]

Remarks

Invokes the TraceListener.WriteLine(string, string) method on all System.Diagnostics.TraceListener objects in the Trace.Listeners collection. [Edit]

Requirements

Namespace: System.Diagnostics
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0