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

◆ write() [3/4]

template<typename object_t >
static void xtd::diagnostics::trace::write ( const object_t &  message,
const xtd::string category 
)
inlinestatic

Writes a category name and message to the trace listeners in the listeners collection.

Parameters
messageA message to write.
categoryA category name used to organize the output.
Remarks
By default, the output is written to an instance of default_trace_listener.
Use the category parameter to group output messages.
This method calls the write method of the trace listener.