[This is preliminary documentation and is subject to change.]
Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider.
Namespace:
NLogAssembly: NLog (in NLog.dll) Version: 2.0.0.0
Syntax
| C# |
|---|
public void Trace<TArgument>( IFormatProvider formatProvider, string message, TArgument argument ) |
| Visual Basic (Declaration) |
|---|
Public Sub Trace(Of TArgument) ( _ formatProvider As IFormatProvider, _ message As String, _ argument As TArgument _ ) |
| Visual C++ |
|---|
public: generic<typename TArgument> void Trace( IFormatProvider^ formatProvider, String^ message, TArgument argument ) |
Parameters
- formatProvider
- Type: System..::.IFormatProvider
An IFormatProvider that supplies culture-specific formatting information.
- message
- Type: System..::.String
A string containing one format item.
- argument
- Type: TArgument
The argument to format.
Type Parameters
- TArgument
- The type of the argument.
