xtd
0.2.0
Loading...
Searching...
No Matches
◆
write_if()
[1/3]
static void xtd::diagnostics::trace::write_if
(
bool
condition
,
const
xtd::string
&
message
)
inline
static
Writes a message to the trace listeners in the Listeners collection if a condition is true.
Parameters
condition
true to cause a message to be written; otherwise, false.
message
A message to write.
Remarks
By default, the output is written to an instance of
default_trace_listener
.
This method calls the write method of the trace listener.
xtd
diagnostics
trace
Generated on Sat Sep 14 2024 21:25:19 for xtd by
Gammasoft
. All rights reserved.