5#include "../collections/generic/list.hpp"
6#include "../any_object.hpp"
7#include "../abstract.hpp"
8#include "../string.hpp"
17 namespace diagnostics {
Represents text as a sequence of character units.
Definition basic_string.hpp:79
Represents a strongly typed list of objects that can be accessed by index. Provides methods to search...
Definition list.hpp:71
Provides trace event data specific to a thread and a process.
Definition trace_event_cache.hpp:30
Provides the base class for trace filter implementations.
Definition trace_filter.hpp:35
bool should_trace(const xtd::diagnostics::trace_event_cache &cache, const xtd::string &source, xtd::diagnostics::trace_event_type event_type, int32 id, const xtd::string &message, std::any data1) noexcept
determines whether the trace listener should trace the event.
trace_filter()=default
Initializes a new instance of the trace_filter class.
virtual bool should_trace(const xtd::diagnostics::trace_event_cache &cache, const xtd::string &source, xtd::diagnostics::trace_event_type event_type, int32 id, const xtd::string &message, std::any data1, const xtd::collections::generic::list< xtd::any_object > &data_array) noexcept=0
When overridden in a derived class, determines whether the trace listener should trace the event.
bool should_trace(const xtd::diagnostics::trace_event_cache &cache, const xtd::string &source, xtd::diagnostics::trace_event_type event_type, int32 id, const xtd::string &message) noexcept
determines whether the trace listener should trace the event.
Contains xtd::diagnostics::default_trace_listener class.
#define abstract_
This keyword is used to represents an abstract class.
Definition abstract.hpp:25
#define core_export_
Define shared library export.
Definition core_export.hpp:13
int32_t int32
Represents a 32-bit signed integer.
Definition int32.hpp:23
trace_event_type
Identifies the type of event that has caused the trace.
Definition trace_event_type.hpp:25
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Contains xtd::diagnostics::source_levels enum class.
Contains xtd::diagnostics::source_switch class.
Contains xtd::diagnostics::trace_listener_collection class.