xtd
0.2.0
Loading...
Searching...
No Matches
◆
fail()
[1/2]
static void xtd::diagnostics::trace::fail
(
const
xtd::string
&
message
)
inline
static
Emits the specified error message.
Parameters
message
A message to emit.
Remarks
The default behavior is that the
default_trace_listener
outputs the message to a message box when the application is running in user interface mode and to the TraceListener instances in the Listeners collection.
Note
The display of the message box is dependent on the presence of the
default_trace_listener
. If the
default_trace_listener
is not in the listeners collection, the message box is not displayed. The
default_trace_listener
can be removed by the <clear>, the <remove>, or by calling the clear method on the listeners property (
xtd::diagnostics::trace::listeners()
.
clear()
).
xtd
diagnostics
trace
Generated on Sat Sep 14 2024 21:25:19 for xtd by
Gammasoft
. All rights reserved.