Skip to content

cdelmoral/apexlogs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

A simple terminal UI for viewing Salesforce logs

What is apexlogs?

Do you find debugging Salesforce Apex code annoying?

Apexlogs is a minimal TUI1 application for viewing Salesforce Apex logs from your terminal.

It automatically creates the required debug level and trace flag records for you and allows you to easily fetch and view logs.

Demo

Installation

The easiest way to install apexlogs is using Homebrew2:

brew install cdelmoral/tap/apexlogs

You can also install it using go3:

go install github.com/cdelmoral/apexlogs

Usage

If you haven't already install the Salesfoce CLI4.

Open a terminal and navigate to your Salesforce project directory.

If a default scratch org is not set already configure it by running sf config set target-org my-scratch-org-alias.

Open the application by running apexlogs in your terminal.

Footnotes

  1. https://en.wikipedia.org/wiki/Text-based_user_interface

  2. https://brew.sh/

  3. https://go.dev/dl/

  4. https://developer.salesforce.com/tools/salesforcecli