Audacity 3.2.0
Namespaces | Classes | Typedefs | Functions
audacity::sentry Namespace Reference

Namespaces

namespace  anonymous_namespace{SentryReport.cpp}
 

Classes

class  AnonymizedMessage
 A class, that stores anonymized message. More...
 
struct  Exception
 A DTO for the Sentry Exception interface. More...
 
struct  Message
 A DTO for the Sentry Message interface. More...
 
class  Report
 A report to Sentry. More...
 
class  SentryRequestBuilder
 A helper, that creates a correct Request to Sentry. More...
 

Typedefs

using ExceptionData = std::pair< std::string, AnonymizedMessage >
 Additional payload to the exception. More...
 

Functions

void AddExceptionContext (std::string parameterName, AnonymizedMessage parameterValue)
 Saves a parameter, that will be appended to the next Exception report. More...
 

Typedef Documentation

◆ ExceptionData

using audacity::sentry::ExceptionData = typedef std::pair<std::string, AnonymizedMessage>

Additional payload to the exception.

Definition at line 27 of file SentryReport.h.

Function Documentation

◆ AddExceptionContext()

SENTRY_REPORTING_API void audacity::sentry::AddExceptionContext ( std::string  parameterName,
AnonymizedMessage  parameterValue 
)

Saves a parameter, that will be appended to the next Exception report.

Definition at line 255 of file SentryReport.cpp.

257{
258 ExceptionContext::Get().Add(std::move (parameterName), std::move (parameterValue));
259}
Services * Get()
Fetch the global instance, or nullptr if none is yet installed.
Definition: BasicUI.cpp:196

References BasicUI::Get().

Here is the call graph for this function: