KiCad PCB EDA Suite
Loading...
Searching...
No Matches
app_monitor.h File Reference
#include <kicommon.h>
#include <string>
#include <set>
#include <wx/string.h>
#include <wx/filename.h>

Go to the source code of this file.

Classes

class  APP_MONITOR::TRANSACTION
 This represents a sentry transaction which is used for time-performance metrics You start a transaction and can denote "spans" inside the transaction for specific portions of the transaction. More...
 
struct  APP_MONITOR::ASSERT_CACHE_KEY
 This struct represents a key being used for the std::set that deduplicates asserts during this running session. More...
 
class  APP_MONITOR::SENTRY
 This is a singleton class intended to manage sentry. More...
 

Namespaces

namespace  APP_MONITOR
 

Enumerations

enum class  APP_MONITOR::BREADCRUMB_TYPE {
  APP_MONITOR::DEFAULT , APP_MONITOR::DBG , APP_MONITOR::ERR , APP_MONITOR::NAVIGATION ,
  APP_MONITOR::INFO , APP_MONITOR::QUERY , APP_MONITOR::TRANSACTION , APP_MONITOR::UI ,
  APP_MONITOR::USER
}
 
enum class  APP_MONITOR::BREADCRUMB_LEVEL {
  APP_MONITOR::FATAL , APP_MONITOR::ERR , APP_MONITOR::WARNING , APP_MONITOR::INFO ,
  APP_MONITOR::DBG
}
 

Functions

bool APP_MONITOR::operator< (const ASSERT_CACHE_KEY &aKey1, const ASSERT_CACHE_KEY &aKey2)
 
void APP_MONITOR::AddBreadcrumb (BREADCRUMB_TYPE aType, const wxString &aMsg, const wxString &aCategory, BREADCRUMB_LEVEL aLevel=BREADCRUMB_LEVEL::INFO)
 Add a sentry breadcrumb.
 
void APP_MONITOR::AddNavigationBreadcrumb (const wxString &aMsg, const wxString &aCategory)
 Add a navigation breadcrumb.
 
void APP_MONITOR::AddTransactionBreadcrumb (const wxString &aMsg, const wxString &aCategory)
 Add a transaction breadcrumb.