Skip to content

Conversation

@rahul0x24
Copy link
Contributor

@rahul0x24 rahul0x24 commented Nov 20, 2025

This PR includes:

  • The milliseconds when converting date to string at the time of exporting the logs
  • The unified export Json structure when doing any level of export (All AppRuns, Single AppRun or Single Log Entry)

A sample export json looks like this

[
  {
    "info" : {
      "appVersion" : "1",
      "device" : "iPhone12,3",
      "launchDate" : "2025-11-18T10:46:07.401Z",
      "operatingSystemVersion" : "Version 26.1 (Build 23B85)"
    },
    "logEntries" : [
      {
        "category" : "domain",
        "composedMessage" : "Not observing PTDefaults on customer install.",
        "date" : "2025-11-18T10:46:08.862Z",
        "level" : "notice",
        "subsystem" : "PrototypeTools"
      },
      {
        "category" : "App",
        "composedMessage" : "This is some detail we’d normally not care about 2025-11-18 10:46:08 am +0000",
        "date" : "2025-11-18T10:46:08.347Z",
        "level" : "debug",
        "subsystem" : "com.zuhlke.highlights"
      },
      {
        "category" : "App",
        "composedMessage" : "App initialised",
        "date" : "2025-11-18T10:46:08.344Z",
        "level" : "info",
        "subsystem" : "com.zuhlke.highlights"
      }
    ]
  }
]

@rahul0x24 rahul0x24 marked this pull request as ready for review November 20, 2025 11:24
@rahul0x24 rahul0x24 requested a review from a team as a code owner November 20, 2025 11:24
@rahul0x24 rahul0x24 enabled auto-merge November 20, 2025 16:32
@rahul0x24 rahul0x24 merged commit a17a520 into main Nov 24, 2025
4 checks passed
@rahul0x24 rahul0x24 deleted the fix/export-view branch November 24, 2025 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants