@@ -137,6 +137,8 @@ typedef enum {
137
137
SENTRY_VALUE_TYPE_NULL ,
138
138
SENTRY_VALUE_TYPE_BOOL ,
139
139
SENTRY_VALUE_TYPE_INT32 ,
140
+ SENTRY_VALUE_TYPE_INT64 ,
141
+ SENTRY_VALUE_TYPE_UINT64 ,
140
142
SENTRY_VALUE_TYPE_DOUBLE ,
141
143
SENTRY_VALUE_TYPE_STRING ,
142
144
SENTRY_VALUE_TYPE_LIST ,
@@ -200,6 +202,16 @@ SENTRY_API sentry_value_t sentry_value_new_null(void);
200
202
*/
201
203
SENTRY_API sentry_value_t sentry_value_new_int32 (int32_t value );
202
204
205
+ /**
206
+ * Creates a new 64-bit signed integer value.
207
+ */
208
+ SENTRY_API sentry_value_t sentry_value_new_int64 (int64_t value );
209
+
210
+ /**
211
+ * Creates a new 64-bit unsigned integer value.
212
+ */
213
+ SENTRY_API sentry_value_t sentry_value_new_uint64 (uint64_t value );
214
+
203
215
/**
204
216
* Creates a new double value.
205
217
*/
@@ -338,6 +350,16 @@ SENTRY_API size_t sentry_value_get_length(sentry_value_t value);
338
350
*/
339
351
SENTRY_API int32_t sentry_value_as_int32 (sentry_value_t value );
340
352
353
+ /**
354
+ * Converts a value into a 64 bit signed integer.
355
+ */
356
+ SENTRY_API int64_t sentry_value_as_int64 (sentry_value_t value );
357
+
358
+ /**
359
+ * Converts a value into a 64 bit unsigned integer.
360
+ */
361
+ SENTRY_API uint64_t sentry_value_as_uint64 (sentry_value_t value );
362
+
341
363
/**
342
364
* Converts a value into a double value.
343
365
*/
@@ -370,6 +392,7 @@ SENTRY_API char *sentry_value_to_json(sentry_value_t value);
370
392
* Sentry levels for events and breadcrumbs.
371
393
*/
372
394
typedef enum sentry_level_e {
395
+ SENTRY_LEVEL_TRACE = -2 ,
373
396
SENTRY_LEVEL_DEBUG = -1 ,
374
397
SENTRY_LEVEL_INFO = 0 ,
375
398
SENTRY_LEVEL_WARNING = 1 ,
@@ -1750,6 +1773,13 @@ SENTRY_EXPERIMENTAL_API void sentry_options_set_enable_logs(
1750
1773
SENTRY_EXPERIMENTAL_API int sentry_options_get_enable_logs (
1751
1774
const sentry_options_t * opts );
1752
1775
1776
+ SENTRY_EXPERIMENTAL_API void sentry_log_trace (const char * message , ...);
1777
+ SENTRY_EXPERIMENTAL_API void sentry_log_debug (const char * message , ...);
1778
+ SENTRY_EXPERIMENTAL_API void sentry_log_info (const char * message , ...);
1779
+ SENTRY_EXPERIMENTAL_API void sentry_log_warn (const char * message , ...);
1780
+ SENTRY_EXPERIMENTAL_API void sentry_log_error (const char * message , ...);
1781
+ SENTRY_EXPERIMENTAL_API void sentry_log_fatal (const char * message , ...);
1782
+
1753
1783
#ifdef SENTRY_PLATFORM_LINUX
1754
1784
1755
1785
/**
0 commit comments