You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+48-3Lines changed: 48 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ This is an example of a report created from the Build Log of the [Kickstarter iO
15
15
`XCLogParser` is written as a [SPM](https://github.com/apple/swift-package-manager/) executable and it supports three commands:
16
16
17
17
1.[Dump](#dump-command) the contents of an `xcactivitylog` into a `JSON` document.
18
-
2.[Parse](#parse-command) the contents of an `xcactivitylog` into different kind of reports (`json`, `flatJson`, `chromeTracer` and `html`).
18
+
2.[Parse](#parse-command) the contents of an `xcactivitylog` into different kind of reports (`json`, `flatJson`, `summaryJson`, `chromeTracer` and `html`).
19
19
3. Dump the [Manifest](#manifest-command) contents of a `LogStoreManifest.plist` file into a `JSON` document.
20
20
21
21
Depending on your needs, there are various use-cases where `XCLogParser` can help you:
@@ -93,7 +93,7 @@ An example output has been omitted for brevity since it can contain a lot of inf
93
93
94
94
### Parse Command
95
95
96
-
Parses the build information from a `xcactivitylog` and converts it into different representations such as a [JSON file](#JSON-Reporter), [flat JSON file](#FlatJson-Reporter), [Chrome Tracer file](#ChromeTracer-Reporter) or a static [HTML page](#HTML-Reporter).
96
+
Parses the build information from a `xcactivitylog` and converts it into different representations such as a [JSON file](#JSON-Reporter), [flat JSON file](#FlatJson-Reporter), [summary JSON file](#SummaryJson-Reporter), [Chrome Tracer file](#ChromeTracer-Reporter) or a static [HTML page](#HTML-Reporter).
97
97
98
98
Examples:
99
99
@@ -110,7 +110,7 @@ Example output available in the [reporters](#reporters) section.
110
110
111
111
| Parameter Name | Description | Required |
112
112
|-----|---|-----|
113
-
|`--reporter`| The reporter used to transform the logs. It can be either `json`, `flatJson`, `chromeTracer` or `html`. (required) | Yes |
113
+
|`--reporter`| The reporter used to transform the logs. It can be either `json`, `flatJson`, `summaryJson`, `chromeTracer` or `html`. (required) | Yes |
114
114
|`--file`| The path to the `xcactivitylog`. | No * |
115
115
|`--project`| The name of the project if you don't know the path to the log. The tool will try to find the latest Build log in a folder that starts with that name inside the `DerivedData` directory. | No * |
116
116
|`--workspace`| The path to the `xcworkspace` file if you don't know the path to the log. It will generate the folder name for the project in the `DerivedData` folder using Xcode's hash algorithm and it will try to locate the latest Build Log inside that directory. | No * |
@@ -169,6 +169,7 @@ The [parse command](#parse-command) has different types of reporters built-in th
For more information regarding each field, check out the [JSON format documentation](https://github.com/spotify/XCLogParser/blob/master/docs/JSON%20Format.md).
322
+
323
+
### SummaryJson Reporter
324
+
325
+
Parses the log as a JSON object, with no nested steps (the field `subSteps` is always empty). Useful to get a high level summary of the build.
For more information regarding each field, check out the [JSON format documentation](https://github.com/spotify/XCLogParser/blob/master/docs/JSON%20Format.md).
0 commit comments