Skip to content

Commit

Permalink
New Logger.exception() methods for Apex developers (#535)
Browse files Browse the repository at this point in the history
* Added new methods/overloads Logger.exception() that automatically log, save, and throw the provided exception

* Fixed some issues with exception-throwing in FlowLogger & added some additional tests

* Fixed #529 by adding a try-catch block in Logger.callStatusApi() and returning null when exceptions occur

* Scope creep: updated some tests in Logger_Tests to not be aware of the log-management layer

* Updated some ApexDocs comments in Logger

* Eliminated npm depedency on sfdx and upgraded sf CLI to v2

* Fixed some dependabot alerts in package.json / package-lock.json
  • Loading branch information
jongpie committed Aug 8, 2023
1 parent 7603057 commit a08e1d6
Show file tree
Hide file tree
Showing 17 changed files with 31,158 additions and 25,820 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
.sf/
.sfdx/
.vscode/
docs/apex/Miscellaneous/
# nebula-logger/**/main/default/
# tests/
test-coverage/
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@

The most robust logger for Salesforce. Works with Apex, Lightning Components, Flow, Process Builder & Integrations. Designed for Salesforce admins, developers & architects.

## Unlocked Package - v4.11.1
## Unlocked Package - v4.11.2

[![Install Unlocked Package in a Sandbox](./images/btn-install-unlocked-package-sandbox.png)](https://test.salesforce.com/packaging/installPackage.apexp?p0=04t5Y000001TsX4QAK)
[![Install Unlocked Package in Production](./images/btn-install-unlocked-package-production.png)](https://login.salesforce.com/packaging/installPackage.apexp?p0=04t5Y000001TsX4QAK)
[![Install Unlocked Package in a Sandbox](./images/btn-install-unlocked-package-sandbox.png)](https://test.salesforce.com/packaging/installPackage.apexp?p0=04t5Y000001TsZAQA0)
[![Install Unlocked Package in Production](./images/btn-install-unlocked-package-production.png)](https://login.salesforce.com/packaging/installPackage.apexp?p0=04t5Y000001TsZAQA0)
[![View Documentation](./images/btn-view-documentation.png)](https://jongpie.github.io/NebulaLogger/)

`sf package install --wait 20 --security-type AdminsOnly --package 04t5Y000001TsX4QAK`
`sf package install --wait 20 --security-type AdminsOnly --package 04t5Y000001TsZAQA0`

`sfdx force:package:install --wait 20 --securitytype AdminsOnly --package 04t5Y000001TsX4QAK`
`sfdx force:package:install --wait 20 --securitytype AdminsOnly --package 04t5Y000001TsZAQA0`

---

Expand Down
Loading

0 comments on commit a08e1d6

Please sign in to comment.