FOSSredder 0.5.0
Loading...
Searching...
No Matches
ui::observability Namespace Reference

Namespaces

namespace  codes
namespace  context
namespace  layer
namespace  origins

Functions

bool isTraceEnabled ()
 Reports whether UI trace emission is enabled.
void trace (const char *layer, const char *origin, std::string message, core::errors::ErrorContext context={})
 Emits a UI trace event.
void traceAdapter (const char *origin, std::string message, core::errors::ErrorContext context={})
 Emits an adapter trace event.
void traceComposition (const char *origin, std::string message, core::errors::ErrorContext context={})
 Emits a composition trace event.
void traceViewModel (const char *origin, std::string message, core::errors::ErrorContext context={})
 Emits a view model trace event.
void traceWorkflow (const char *origin, std::string message, core::errors::ErrorContext context={})
 Emits a workflow trace event.
void traceWorkspace (const char *origin, std::string message, core::errors::ErrorContext context={})
 Emits a workspace trace event.
void reportFlow (core::ports::diagnostics::IErrorReporter *reporter, core::errors::ErrorSeverity severity, const char *code, const char *origin, std::string message, core::errors::ErrorContext context={})
 Reports a UI flow error event.
void reportFlow (core::ports::diagnostics::IErrorReporter *reporter, core::errors::ErrorSeverity severity, const char *origin, std::string message, core::errors::ErrorContext context={})
 Reports a generic UI flow error event.

Function Documentation

◆ isTraceEnabled()

bool ui::observability::isTraceEnabled ( )

Reports whether UI trace emission is enabled.

Returns
True when trace events should be emitted.

Definition at line 56 of file Trace.cpp.

Here is the caller graph for this function:

◆ reportFlow() [1/2]

void ui::observability::reportFlow ( core::ports::diagnostics::IErrorReporter * reporter,
core::errors::ErrorSeverity severity,
const char * code,
const char * origin,
std::string message,
core::errors::ErrorContext context = {} )
inline

Reports a UI flow error event.

Parameters
severityError severity.
codeError code.
originError origin.
messageError message.
contextStructured error context.

Definition at line 132 of file Trace.h.

Here is the caller graph for this function:

◆ reportFlow() [2/2]

void ui::observability::reportFlow ( core::ports::diagnostics::IErrorReporter * reporter,
core::errors::ErrorSeverity severity,
const char * origin,
std::string message,
core::errors::ErrorContext context = {} )
inline

Reports a generic UI flow error event.

Parameters
severityError severity.
originError origin.
messageError message.
contextStructured error context.

Definition at line 147 of file Trace.h.

◆ trace()

void ui::observability::trace ( const char * layer,
const char * origin,
std::string message,
core::errors::ErrorContext context = {} )

Emits a UI trace event.

Parameters
layerUI layer name.
originTrace origin.
messageTrace message.
contextStructured trace context.

Definition at line 60 of file Trace.cpp.

Here is the call graph for this function:

◆ traceAdapter()

void ui::observability::traceAdapter ( const char * origin,
std::string message,
core::errors::ErrorContext context = {} )
inline

Emits an adapter trace event.

Parameters
originTrace origin.
messageTrace message.
contextStructured trace context.

Definition at line 75 of file Trace.h.

Here is the caller graph for this function:

◆ traceComposition()

void ui::observability::traceComposition ( const char * origin,
std::string message,
core::errors::ErrorContext context = {} )
inline

Emits a composition trace event.

Parameters
originTrace origin.
messageTrace message.
contextStructured trace context.

Definition at line 86 of file Trace.h.

◆ traceViewModel()

void ui::observability::traceViewModel ( const char * origin,
std::string message,
core::errors::ErrorContext context = {} )
inline

Emits a view model trace event.

Parameters
originTrace origin.
messageTrace message.
contextStructured trace context.

Definition at line 97 of file Trace.h.

Here is the caller graph for this function:

◆ traceWorkflow()

void ui::observability::traceWorkflow ( const char * origin,
std::string message,
core::errors::ErrorContext context = {} )
inline

Emits a workflow trace event.

Parameters
originTrace origin.
messageTrace message.
contextStructured trace context.

Definition at line 108 of file Trace.h.

Here is the caller graph for this function:

◆ traceWorkspace()

void ui::observability::traceWorkspace ( const char * origin,
std::string message,
core::errors::ErrorContext context = {} )
inline

Emits a workspace trace event.

Parameters
originTrace origin.
messageTrace message.
contextStructured trace context.

Definition at line 119 of file Trace.h.