xtd 0.2.0
Loading...
Searching...
No Matches

◆ trace_warning() [2/2]

template<typename ... objects>
static void xtd::diagnostics::trace::trace_warning ( const xtd::string message,
const objects &...  args 
)
inlinestatic

Writes a warning message to the trace listeners in the listeners collection using the specified array of objects and formatting information.

Parameters
formatA format string that contains zero or more format items, which correspond to objects in the args array.
...argsAn object array containing zero or more objects to format.
Remarks
trace_warning calls the trace_event methods in the trace listeners with the trace event type Warning, passing the message content as an object array with formatting information.