Skip to content

Commit edca048

Browse files
Merge pull request #531 from lukecotter/chore-1.16.0-docs
chore: 1.16.0 docs
2 parents 9f4172f + d0edba1 commit edca048

7 files changed

Lines changed: 92 additions & 101 deletions

File tree

README.md

Lines changed: 48 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -20,45 +20,41 @@ Apex Log Analyzer makes performance analysis of Salesforce debug logs much easie
2020
> Higher log levels result in higher reported execution time than would be seen with logging off.\
2121
> This is due to the over head associated with logging method entry and exit.
2222
23-
[Installation](#installation 'Go to Installation') |
24-
[Usage](#usage 'Go to Usage') |
23+
[Getting Started](#getting-started 'Go to Getting Started') |
2524
[Features](#features 'Go to Features') |
2625
[Settings](#settings 'Go to Settings') |
2726
[Explore the Docs](https://certinia.github.io/debug-log-analyzer/) |
2827
[Contributing](#contributing 'Go to Contributing') |
2928
[Contributors](#contributors 'Go to Contributors') |
3029
[License](#license 'Go to License')
3130

32-
## Installation
31+
## Getting Started
32+
33+
### Installation
3334

3435
![install](https://raw.githubusercontent.com/certinia/debug-log-analyzer/main/lana/dist/v1.10/install-lana.webp)
3536

36-
- Search for `Apex Log Analyzer` in extensions.
37-
- Click install + then reload VSCode.
37+
Search for `Apex Log Analyzer` from the extensions side bar in VS Code and click `Install` or
38+
install from the VS Code market place by clicking install on [Visual Studio Code Market Place: Apex Log Analyzer](https://marketplace.visualstudio.com/items?itemName=financialforce.lana)
3839

3940
### Pre-Release
4041

4142
Click `Switch to Pre-Release Version` on the banner to get bleeding edge changes and help us to resolve bugs before the stable release.
4243

4344
### Command Pallette
4445

45-
- Open command pallette (CMD/CTRL + Shift + P), paste `ext install financialforce.lana`, and press enter.
46-
- Click reload in the extensions tab.
46+
Open command pallette (CMD/CTRL + Shift + P), paste `ext install financialforce.lana`, and press enter.
4747

4848
```sh
4949
ext install financialforce.lana
5050
```
5151

52-
### VSCode Marketplace
53-
54-
- Install from the VSCode market place by clicking install on [Visual Studio Code Market Place: Apex Log Analyzer](https://marketplace.visualstudio.com/items?itemName=financialforce.lana)
55-
56-
## Usage
52+
### Show Analysis
5753

58-
Start the analysis either from a log you have already downloaded or by downloading a log from an org to view.
54+
Start the analysis either from a log you have already downloaded or by downloading a log from an org.
5955
On larger logs the analysis window make take a few seconds to appear.
6056

61-
### From an Open Log File
57+
#### From an Open Log File
6258

6359
With the `.log` file open in VSCode.
6460

@@ -73,16 +69,17 @@ With the `.log` file open in VSCode.
7369
or
7470
1. Right click editor tab -> 'Log: Show Apex Log Analysis'
7571

76-
### Download a log
72+
#### Download a log
7773

7874
1. Open command pallette (CMD/CTRL + Shift + P) -> 'Log: Retrieve Apex Log And Show Analysis
7975

80-
## Features
76+
## Features
8177

82-
- [**Timeline / Flame chart**](#timeline--flame-chart) - Gain a deep understanding of code execution over time via a timeline flame chart and tooltips to show additional information about events.
83-
- [**Call Tree**](#call-tree) - View the execution path in a tree view with aggregated DML Count, SOQL Count, Throws Count, Row Count, Self Time and Total Time. Apply filters to filter the events.
84-
- [**Analysis**](#analysis) - Quickly identify which methods took the most time in aggregate.
85-
- [**Database**](#database) - Identify which SOQL + DML executed the most, returned the most rows and took the most time.
78+
- 🔥 [**Timeline / Flame chart**](#timeline--flame-chart) - Gain a deep understanding of code execution over time via a timeline flame chart and tooltips to show additional information about events.
79+
- 🌳 [**Call Tree**](#call-tree) - View the execution path in a tree view with aggregated DML Count, SOQL Count, Throws Count, Row Count, Self Time and Total Time. Apply filters to filter the events.
80+
- 🧠 [**Analysis**](#analysis) - Quickly identify which methods took the most time in aggregate.
81+
- 💾 [**Database**](#database) - Identify which SOQL + DML executed the most, returned the most rows and took the most time.
82+
- 🔍 [**Find**](#find) - Find, highlight and step through matching text and log events on the Timeline, Call Tree, Analysis
8683

8784
### Timeline / Flame chart
8885

@@ -97,14 +94,6 @@ The Timeline shows a visualization of code execution during a request’s execut
9794
- Scroll left and right on the mouse to move the time line left are right, when zoomed
9895
- Click the mouse down and drag to move the timeline around both in the x and y direction, when zoomed
9996

100-
#### Find
101-
102-
- CMD/CTRL + f to open find
103-
- Events with matching text are highlighted, there is a different highlight for the current match.
104-
- Previous match, next match and case sensitive search all supported.
105-
- If the next matching event is off screen that event will be centered on the timeline.
106-
- The find will match on Event Type or text in the event
107-
10897
#### Go to Call Tree
10998

11099
- Clicking an event in the Timeline will go to and select that event in the Call Tree.
@@ -131,13 +120,6 @@ Shows the call stack which can be expanded and collapsed. Clicking on a link wil
131120

132121
Each row shows event type, details such as method signature, self and total time as well as aggregated DML, SOQL, Throws and Row counts.
133122

134-
#### Find
135-
136-
- CMD/CTRL + f to open find
137-
- Any matching text is highlighted, there is a different highlight for the current match.
138-
- Previous match, next match and case sensitive search all supported.
139-
- If the next matching text is within a parent that parent will be expanded.
140-
141123
#### Go to Code
142124

143125
Clicking the link in the event column will open the corresponding file and line, if that file exists in the current workspace.
@@ -163,13 +145,6 @@ Show analysis of method calls by showing Self Time, Total Time, Count (number of
163145

164146
![analysis](https://raw.githubusercontent.com/certinia/debug-log-analyzer/main/lana/dist/v1.14/lana-analysis.png)
165147

166-
#### Find
167-
168-
- CMD/CTRL + f to open find
169-
- Any matching text is highlighted, there is a different highlight for the current match.
170-
- Previous match, next match and case sensitive search all supported.
171-
- If the next matching text is within a group that group will be expanded.
172-
173148
#### Sort
174149

175150
By default the Analysis table is sorted with the events that took the longest by Self Time at the top.\
@@ -199,13 +174,6 @@ Shows the SOQL and DML that occurred the number of rows returned, the time taken
199174

200175
The _Selectivity_ column will have a green tick if the query is selective, a red cross if it is not and will be blank if the selectivity could not be determine. Sorting on this column will sort the rows by relative query cost, this number can be seen by hovering the cell on the selectivity column.
201176

202-
#### Find
203-
204-
- CMD/CTRL + f to open find
205-
- Any matching text is highlighted, there is a different highlight for the current match.
206-
- Previous match, next match and case sensitive search all supported.
207-
- If the next matching text is within a group that group will be expanded.
208-
209177
#### Sort
210178

211179
The rows can be sorted ascending or descending by DML/SOQL, Row Count and Time Taken and by Selectivity and Aggregations on the SOQL table.
@@ -237,7 +205,35 @@ For SOQL rows, to the right of the Call Stack is SOQL Analysis which shows infor
237205
Click the header menu,``, and use `Export to CSV` to save the table content to a file.
238206
Focus the Analysis table and use `CMD / CTRL + c` to copy the table content to clipboard. This can then be pasted into a spreadsheet or other file.
239207

240-
## Settings
208+
### Find
209+
210+
- CMD/CTRL + f to open find
211+
- Any matching text is highlighted, the current match has a lighter hightlight.
212+
- Previous match, next match and case sensitive search all supported.
213+
214+
#### Timeline
215+
216+
- If the next matching event is off screen that event will be centered on the timeline.
217+
- The find will match on Event Type or text in the event
218+
- The tooltip is shown for the current matching event, making it easy to view the event details such as Total or Self time.
219+
220+
![Timeline find](https://raw.githubusercontent.com/certinia/debug-log-analyzer/main/lana/dist/v1.16/lana-timeline-find.png)
221+
222+
#### Call Tree
223+
224+
- If the next matching text is within a parent that parent will be expanded.
225+
- The row with the current matching text will also be highlighted
226+
227+
![Call Tree find](https://raw.githubusercontent.com/certinia/debug-log-analyzer/main/lana/dist/v1.16/lana-calltree-find.png)
228+
229+
#### Analysis + Database
230+
231+
- If the next matching text is within a group that group will be expanded.
232+
- The row with the current matching text will also be highlighted
233+
234+
![Analysis find](https://raw.githubusercontent.com/certinia/debug-log-analyzer/main/lana/dist/v1.16/lana-analysis-find.png)
235+
236+
## 🛠️ Settings
241237

242238
### Timeline color settings
243239

@@ -267,9 +263,9 @@ settings.json
267263
Help us to make things better by [Contributing](https://raw.githubusercontent.com/certinia/debug-log-analyzer/main/lana/CONTRIBUTING.md)\
268264
Find out how to [Build](https://raw.githubusercontent.com/certinia/debug-log-analyzer/main/lana/BUILDING.md) the extension
269265

270-
## Contributors
266+
## 🎉 Contributors
271267

272-
Thanks to the everyone who has contributed ❤ 🙏
268+
Thanks to the everyone who has contributed ❤️ 🙏;
273269

274270
<p align="center">
275271
<a href="https://github.com/certinia/debug-log-analyzer/graphs/contributors">

lana-docs-site/docs/docs/features.md

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22
sidebar_position: 4
33
---
44

5-
# Features
5+
# Features
66

7-
- [**Timeline / Flame chart**](#timeline--flame-chart) - Gain a deep understanding of code execution over time via a timeline flame chart and tooltips to show additional information about events.
8-
- [**Call Tree**](#call-tree) - View the execution path in a tree view with aggregated DML Count, SOQL Count, Throws Count, Row Count, Self Time and Total Time. Apply filters to filter the events.
9-
- [**Analysis**](#analysis) - Quickly identify which methods took the most time in aggregate.
10-
- [**Database**](#database) - Identify which SOQL + DML executed the most, returned the most rows and took the most time.
7+
- 🔥 [**Timeline / Flame chart**](#timeline--flame-chart) - Gain a deep understanding of code execution over time via a timeline flame chart and tooltips to show additional information about events.
8+
- 🌳 [**Call Tree**](#call-tree) - View the execution path in a tree view with aggregated DML Count, SOQL Count, Throws Count, Row Count, Self Time and Total Time. Apply filters to filter the events.
9+
- 🧠 [**Analysis**](#analysis) - Quickly identify which methods took the most time in aggregate.
10+
- 💾 [**Database**](#database) - Identify which SOQL + DML executed the most, returned the most rows and took the most time.
11+
- 🔍 [**Find**](#find) - Find, highlight and step through matching text and log events on the Timeline, Call Tree, Analysis
1112

12-
## Timeline / Flame chart
13+
## 🔥 Timeline / Flame chart
1314

1415
The Timeline shows a visualization of code execution during a request’s execution. Each color represents a different Salesforce event type e.g DB, Method, SOQL etc. The length of a bar relates to realtime taken, a longer bar means that method took longer.
1516

@@ -22,14 +23,6 @@ The Timeline shows a visualization of code execution during a request’s execut
2223
- Scroll left and right on the mouse to move the time line left are right, when zoomed
2324
- Click the mouse down and drag to move the timeline around both in the x and y direction, when zoomed
2425

25-
### Find
26-
27-
- CMD/CTRL + f to open find
28-
- Events with matching text are highlighted, there is a different highlight for the current match.
29-
- Previous match, next match and case sensitive search all supported.
30-
- If the next matching event is off screen that event will be centered on the timeline.
31-
- The find will match on Event Type or text in the event
32-
3326
### Go to Call Tree
3427

3528
Clicking an event in the Timeline will go to and select that event in the Call Tree.
@@ -47,21 +40,14 @@ The tooltip provides the following information.\
4740
**Duration** - Made up of **Total Time** (time spent in that event and its children) and **Self Time** (time directly spent in that event).\
4841
**Rows** - Shows **Total Rows** (rows from that event and its children) and **Self Rows** (rows directly from that event).
4942

50-
## Call Tree
43+
## 🌳 Call Tree
5144

5245
Shows the call stack which can be expanded and collapsed. Clicking on a link will take you to that line in the class if it can be found in the current open project.
5346

5447
![Call Tree](https://raw.githubusercontent.com/certinia/debug-log-analyzer/main/lana/dist/v1.14/lana-calltree.png)
5548

5649
Each row shows event type, details such as method signature, self and total time as well as aggregated DML, SOQL, Throws and Row counts.
5750

58-
### Find
59-
60-
- CMD/CTRL + f to open find
61-
- Any matching text is highlighted, there is a different highlight for the current match.
62-
- Previous match, next match and case sensitive search all supported.
63-
- If the next matching text is within a parent that parent will be expanded.
64-
6551
### Go to Code
6652

6753
Clicking the link in the event column will open the corresponding file and line, if that file exists in the current workspace.
@@ -81,19 +67,12 @@ Each column can be sorted by clicking the column header, this will sort the rows
8167

8268
The Call Tree can be navigated with the keyboard. The up and down keys will move between rows, the left and right keys will expand and collapse a parent within the tree.
8369

84-
## Analysis
70+
## 🧠 Analysis
8571

8672
Show analysis of method calls by showing Self Time, Total Time, Count (number of times a method was called), name and type. Each column can be sorted ascending or descending by clicking the column header.
8773

8874
![analysis](https://raw.githubusercontent.com/certinia/debug-log-analyzer/main/lana/dist/v1.14/lana-analysis.png)
8975

90-
### Find
91-
92-
- CMD/CTRL + f to open find
93-
- Any matching text is highlighted, there is a different highlight for the current match.
94-
- Previous match, next match and case sensitive search all supported.
95-
- If the next matching text is within a group that group will be expanded.
96-
9776
### Sort
9877

9978
By default the Analysis table is sorted with the events that took the longest by Self Time at the top.\
@@ -115,21 +94,14 @@ The rows can be grouped by Type or Namespace
11594
Click the header menu,``, and use `Export to CSV` to save the table content to a file.
11695
Focus the Analysis table and use `CMD / CTRL + c` to copy the table content to clipboard. This can then be pasted into a spreadsheet or other file.
11796

118-
## Database
97+
## 💾 Database
11998

12099
Shows the SOQL and DML that occurred the number of rows returned, the time taken and for SOQL the selectivity and number of aggregations.
121100

122101
![database](https://raw.githubusercontent.com/certinia/debug-log-analyzer/main/lana/dist/v1.14/lana-database.png)
123102

124103
The _Selectivity_ column will have a green tick if the query is selective, a red cross if it is not and will be blank if the selectivity could not be determine. Sorting on this column will sort the rows by relative query cost, this number can be seen by hovering the cell on the selectivity column.
125104

126-
### Find
127-
128-
- CMD/CTRL + f to open find
129-
- Any matching text is highlighted, there is a different highlight for the current match.
130-
- Previous match, next match and case sensitive search all supported.
131-
- If the next matching text is within a group that group will be expanded.
132-
133105
### Sort
134106

135107
The rows can be sorted ascending or descending by DML/SOQL, Row Count and Time Taken and by Selectivity and Aggregations on the SOQL table.
@@ -160,3 +132,31 @@ For SOQL rows, to the right of the Call Stack is SOQL Analysis which shows infor
160132

161133
Click the header menu,``, and use `Export to CSV` to save the table content to a file.
162134
Focus the Analysis table and use `CMD / CTRL + c` to copy the table content to clipboard. This can then be pasted into a spreadsheet or other file.
135+
136+
## 🔍 Find
137+
138+
- CMD/CTRL + f to open find
139+
- Any matching text is highlighted, the current match has a lighter hightlight.
140+
- Previous match, next match and case sensitive search all supported.
141+
142+
### Timeline
143+
144+
- If the next matching event is off screen that event will be centered on the timeline.
145+
- The find will match on Event Type or text in the event
146+
- The tooltip is shown for the current matching event, making it easy to view the event details such as Total or Self time.
147+
148+
![Timeline find](https://raw.githubusercontent.com/certinia/debug-log-analyzer/main/lana/dist/v1.16/lana-timeline-find.png)
149+
150+
### Call Tree
151+
152+
- If the next matching text is within a parent that parent will be expanded.
153+
- The row with the current matching text will also be highlighted
154+
155+
![Call Tree find](https://raw.githubusercontent.com/certinia/debug-log-analyzer/main/lana/dist/v1.16/lana-calltree-find.png)
156+
157+
### Analysis + Database
158+
159+
- If the next matching text is within a group that group will be expanded.
160+
- The row with the current matching text will also be highlighted
161+
162+
![Analysis find](https://raw.githubusercontent.com/certinia/debug-log-analyzer/main/lana/dist/v1.16/lana-analysis-find.png)

lana-docs-site/docs/docs/usage.md renamed to lana-docs-site/docs/docs/gettingstarted.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
sidebar_position: 3
33
---
44

5-
# Usage
5+
# Getting Started
66

77
Start the analysis either from a log you have already downloaded or by downloading a log from an org to view.
88
On larger logs the analysis window make take a few seconds to appear.

lana-docs-site/docs/docs/installation.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,17 @@ sidebar_position: 2
66

77
![install](https://raw.githubusercontent.com/certinia/debug-log-analyzer/main/lana/dist/v1.10/install-lana.webp)
88

9-
- Search for `Apex Log Analyzer` in extensions.
10-
- Click install + then reload VSCode.
9+
Search for `Apex Log Analyzer` from the extensions side bar in VS Code and click `Install` or
10+
install from the VS Code market place by clicking install on [Visual Studio Code Market Place: Apex Log Analyzer](https://marketplace.visualstudio.com/items?itemName=financialforce.lana)
1111

12-
## Pre-Release
12+
### Pre-Release
1313

1414
Click `Switch to Pre-Release Version` on the banner to get bleeding edge changes and help us to resolve bugs before the stable release.
1515

16-
## Command Pallette
16+
### Command Pallette
1717

18-
- Open command pallette (CMD/CTRL + Shift + P), paste `ext install financialforce.lana`, and press enter.
19-
- Click reload in the extensions tab.
18+
Open command pallette (CMD/CTRL + Shift + P), paste `ext install financialforce.lana`, and press enter.
2019

2120
```sh
2221
ext install financialforce.lana
2322
```
24-
25-
## VSCode Marketplace
26-
27-
- Install from the VSCode market place by clicking install on [Visual Studio Code Market Place: Apex Log Analyzer](https://marketplace.visualstudio.com/items?itemName=financialforce.lana)
52.1 KB
Loading
35.2 KB
Loading
17.7 KB
Loading

0 commit comments

Comments
 (0)