[This is preliminary documentation and is subject to change.]

Writes the diagnostic message at the Trace level using the specified parameters.

Namespace:  NLog
Assembly:  NLog (in NLog.dll) Version: 2.0.0.0

Syntax

C#
public void Trace(
	string message,
	params Object[] args
)
Visual Basic (Declaration)
Public Sub Trace ( _
	message As String, _
	ParamArray args As Object() _
)
Visual C++
public:
void Trace(
	String^ message, 
	... array<Object^>^ args
)

Parameters

message
Type: System..::.String
A string containing format items.
args
Type: array< System..::.Object >[]()[]
Arguments to format.

See Also