6#include <xtd/diagnostics/trace_listener>
62 if (control_trace_) control_trace_->flush();
66 using trace_listener::write;
72 if (control_trace_) control_trace_->write(
message);
76 using trace_listener::write_line;
83 if (control_trace_) control_trace_->write_line(
message);
Provides the abstract base class for the listeners who monitor trace and debug output.
Definition trace_listener.hpp:42
bool need_indent() const noexcept
Gets a value indicating whether to indent the output.
virtual void write_indent()
Writes the indent to the listener you create when you implement this class, and resets the NeedIndent...
Definition trace_listener.hpp:342
xtd::basic_string< char > string
Represents text as a sequence of UTF-8 code units.
Definition __string_definitions.hpp:43
xtd::shared_ptr_object< type_t > sptr
The xtd::sptr object is a shared pointer.
Definition sptr.hpp:25
sptr< type_t > new_sptr(args_t &&... args)
xtd::new_sptr operator creates a xtd::sptr object.
Definition new_sptr.hpp:24
Contains xtd::forms::icontrol_trace interface.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8