Files
UnrealEngine/Engine/Source/Programs/UnrealBuildAccelerator/Common/Public/UbaSentry.h
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

10 lines
376 B
C

// Copyright Epic Games, Inc. All Rights Reserved.
#if defined(UBA_USE_SENTRY)
#define SENTRY_BUILD_STATIC 1
#include <sentry.h>
#define UBA_SENTRY_INFO(...) do { if (x) break; StringBuffer<> _buf; _buf.Appendf(__VA_ARGS__); sentry_capture_event(sentry_value_new_message_event(SENTRY_LEVEL_INFO, "custom", _buf.data); } while(false)
#else
#define UBA_SENTRY_INFO(...)
#endif