Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>Salesforce log to PlantUMLNew to Visual Studio Code? Get it now.
Salesforce log to PlantUML

Salesforce log to PlantUML

Cloud UX

|
105 installs
| (0) | Free
Convert Salesforce Apex debug logs to sequence diagrams
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Apex Log to Sequence Diagram

Overview

This extension has been written to convert Salesforce Apex debug logs into sequence diagrams. These can then be further edited, or exported for use in technical documentation or for analysis purposes.

The extension does this by converting selected apex log content to a PlantUML compatible script that can then be used to create sequence diagrams.

Tools like sequencediagram.org and the online version of draw.io can load and convert these scripts into images. It can be as simple as copy and paste to generate outputs like this example below:

Features

  • No access to your orgs required. Uses only your downloaded debug logs.
  • Generate diagrams for a complete log or only a portion of a log. Whatever lines you highlight is what is processed.
  • No licenses required for software to generate the diagrams.
  • Diagrams can be modified after generation - just adjust the PlantUML to suit your needs.
  • Calculates time stamps from start of sequence generation to attempt to display execution times of the various sequences.

Installation

Visual Studio Code marketplace. Just look for 'Salesforce log to PlantUML'.

Usage

The extension performs one job, and is easy to use.

First, generate your log file. It should end up stored against your project somewhere.

Open the apex log file.

Select all rows, or just those you want to convert to PlantUML.

Right click on the selected data. You should see the option 'Convert Apex Log to PlantUML' per the screenshot below:

.. and voila! The PlantUML will be generated in front of your eyes and stored against your project root directory as a timestamped puml file.

Configuration

There isn't any configuration options available in release 1.0.0.

Requirements

Your Apex log files will need to have a reasonable level of detail to generate diagrams. Testing to date has used FINE level to achieve good results, however you'll want to balance that with the size of the resulting puml file. If your output file is say 2Mb or under then sequencediagram.org should handle it ok. If larger than that then you'll want to try draw.io online, and use its advanced load option. Just experiment - puml image generation is out of the extensions scope.

Release Notes

1.0.0

  • Initial release

Contributing

Feel free to send ideas for additions or improvements, or fixes. I'll try to add/fix as I can.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft