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

◆ write_line() [4/5]

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

Writes a category name and message followed by a line terminator 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.