-
-
Notifications
You must be signed in to change notification settings - Fork 199
Open
Description
The following items are all potential follow-ups of the initial Structured Logs implementation introduced in #1271 .
- Allow passing in custom attributes
- The spec allows for key-value paired attributes which are added as
key : {"value": value, "type": type}to the 'attributes' item in the envelope. This is possible usingbefore_send_log, but not convenient (as one would need to inspect the log to add log-specific attributes). - Structured Logs: follow up - custom attributes #1405
- feat(logs): custom attributes API #1435
- The spec allows for key-value paired attributes which are added as
- Batch Processor Minimize Data Loss
- We already flush logs on shutdown (and on crash), but we didn't yet add this for calling
sentry_flush. - Structured Logs: follow up - Batch Processor Minimize Data Loss #1425
- feat(logs): add
sentry__logs_force_flushon callingsentry_flush#1434
- We already flush logs on shutdown (and on crash), but we didn't yet add this for calling
- length format specifier handling
- replace
cond_wakewith level-triggered flag - Set
sentry.originfor logs coming from integrations- For now, only if created from downstream (e.g. Unreal), since native itself just has the manual API.
- https://develop.sentry.dev/sdk/telemetry/logs/#sdk-integration-attributes
- Logger integrations
- logging
sentry__logger_func()calls can be added as an option, but need to disable logging when in thesentry_logs.ccode to avoid recursion. - community requests for C/C++ logging libraries (feel free to add requests below!)
- logging
- Named parameter API
- to allow for better searchability for
sentry.message.parameter.Xwhere X is no longer confined to being numerical, we can add an alternative API that allows passing in asentry_value_tlist containing (key, value) pair objects. Proof-of-concept already lives here feat(logs): alternative logs API #1297
- to allow for better searchability for
Done
- Using
SENTRY_SDK_NAMEinstead of always writingsentry.nativewhen setting the sdk name attribute- this changes to
native.androidornative.xboxin our SDK, and gets set tonative.unreal/unity/godotfrom the respective GDX SDKs - fix: add proper sdk name to logs #1399
- this changes to
- ensure logs get sent/cached to disk on crash
supervacuus
Metadata
Metadata
Assignees
Labels
No labels