diff options
Diffstat (limited to 'src/zenserver/sentryintegration.h')
| -rw-r--r-- | src/zenserver/sentryintegration.h | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/src/zenserver/sentryintegration.h b/src/zenserver/sentryintegration.h deleted file mode 100644 index 40e22af4e..000000000 --- a/src/zenserver/sentryintegration.h +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright Epic Games, Inc. All Rights Reserved. - -#pragma once - -#include <zencore/intmath.h> -#include <zencore/zencore.h> - -#if !defined(ZEN_USE_SENTRY) -# define ZEN_USE_SENTRY 1 -#endif - -#if ZEN_USE_SENTRY - -# include <memory> - -ZEN_THIRD_PARTY_INCLUDES_START -# include <spdlog/logger.h> -ZEN_THIRD_PARTY_INCLUDES_END - -namespace sentry { - -struct SentryAssertImpl; - -} // namespace sentry - -namespace zen { - -class SentryIntegration -{ -public: - SentryIntegration(); - ~SentryIntegration(); - - void Initialize(std::string SentryDatabasePath, std::string SentryAttachmentsPath, bool AllowPII, const std::string& CommandLine); - void LogStartupInformation(); - static void ClearCaches(); - -private: - int m_SentryErrorCode = 0; - bool m_IsInitialized = false; - bool m_AllowPII = false; - std::unique_ptr<sentry::SentryAssertImpl> m_SentryAssert; - std::string m_SentryUserName; - std::string m_SentryHostName; - std::string m_SentryId; - std::shared_ptr<spdlog::logger> m_SentryLogger; -}; - -} // namespace zen -#endif |