FlightGear next
sentryIntegration.cxx File Reference
#include "config.h"
#include "sentryIntegration.hxx"
#include <cstring>
#include <simgear/debug/LogCallback.hxx>
#include <simgear/debug/logstream.hxx>
#include <simgear/debug/ErrorReportingCallback.hxx>
#include <simgear/debug/Reporting.hxx>
#include <simgear/misc/sg_path.hxx>
#include <simgear/props/props.hxx>
#include <simgear/structure/commands.hxx>
#include <simgear/structure/exception.hxx>
#include <simgear/io/iostreams/sgstream.hxx>
#include <Main/fg_init.hxx>
#include <Main/fg_props.hxx>
#include <Main/globals.hxx>
#include <flightgearBuildId.h>

Go to the source code of this file.

Namespaces

namespace  flightgear
 FlightPlan.hxx - defines a full flight-plan object, including departure, cruise, arrival information and waypoints.
 

Functions

bool doesStringMatchPrefixes (const std::string &s, const std::initializer_list< const char * > &prefixes)
 
void flightgear::initSentry ()
 
void flightgear::shutdownSentry ()
 
void flightgear::delayedSentryInit ()
 
std::string flightgear::sentryUserId ()
 retrive the anonymous user ID (a UUID) for this installation.
 
bool flightgear::isSentryEnabled ()
 
void flightgear::addSentryBreadcrumb (const std::string &, const std::string &)
 
void flightgear::addSentryTag (const char *, const char *)
 
void flightgear::updateSentryTag (const std::string &, const std::string &)
 
void flightgear::sentryReportNasalError (const std::string &, const string_list &)
 
void flightgear::sentryReportException (const std::string &, const std::string &)
 
void flightgear::sentryReportFatalError (const std::string &, const std::string &)
 
void flightgear::sentryReportUserError (const std::string &, const std::string &, const std::string &)
 
void flightgear::addSentryTag (const std::string &tag, const std::string &value)
 

Variables

auto OSG_messageWhitelist
 
auto exception_messageWhitelist
 

Function Documentation

◆ doesStringMatchPrefixes()

bool doesStringMatchPrefixes ( const std::string & s,
const std::initializer_list< const char * > & prefixes )

Definition at line 42 of file sentryIntegration.cxx.

Variable Documentation

◆ exception_messageWhitelist

auto exception_messageWhitelist
Initial value:
= {
"position is invalid, NaNs",
"bad AI flight plan",
"couldn't find shader",
"metar data bogus",
"metar data incomplete",
"metar temperature data",
"metar pressure data"}

Definition at line 64 of file sentryIntegration.cxx.

◆ OSG_messageWhitelist

auto OSG_messageWhitelist
Initial value:
= {
"PNG lib warning : iCCP: known incorrect sRGB profile",
"PNG lib warning : iCCP: profile 'ICC Profile': 1000000h: invalid rendering intent",
"osgDB ac3d reader: detected surface with less than 3",
"osgDB ac3d reader: detected line with less than 2",
"Detected particle system using segment(s) with less than 2 vertices"
}

Definition at line 56 of file sentryIntegration.cxx.