diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index d515d360b..35d1f3a68 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -118,7 +118,7 @@ jobs:
run: npm run test:lwc
- name: 'Upload LWC code coverage to Codecov.io'
- uses: codecov/codecov-action@v2.0.2
+ uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: LWC
@@ -248,7 +248,7 @@ jobs:
run: rm ./test-coverage/apex/test-result-707*-codecoverage.json
- name: 'Upload Apex test code coverage to Codecov.io'
- uses: codecov/codecov-action@v2.0.2
+ uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: Apex
diff --git a/README.md b/README.md
index 3177017cc..9f8714611 100644
--- a/README.md
+++ b/README.md
@@ -5,10 +5,10 @@
The most robust logger for Salesforce. Works with Apex, Lightning Components, Flow, Process Builder & Integrations. Designed for Salesforce admins, developers & architects.
-## Unlocked Package - v4.9.2
+## Unlocked Package - v4.9.3
-[![Install Unlocked Package in a Sandbox](./images/btn-install-unlocked-package-sandbox.png)](https://test.salesforce.com/packaging/installPackage.apexp?p0=04t5Y0000023R7iQAE)
-[![Install Unlocked Package in Production](./images/btn-install-unlocked-package-production.png)](https://login.salesforce.com/packaging/installPackage.apexp?p0=04t5Y0000023R7iQAE)
+[![Install Unlocked Package in a Sandbox](./images/btn-install-unlocked-package-sandbox.png)](https://test.salesforce.com/packaging/installPackage.apexp?p0=04t5Y0000023R7sQAE)
+[![Install Unlocked Package in Production](./images/btn-install-unlocked-package-production.png)](https://login.salesforce.com/packaging/installPackage.apexp?p0=04t5Y0000023R7sQAE)
[![View Documentation](./images/btn-view-documentation.png)](https://jongpie.github.io/NebulaLogger/)
## Managed Package - v4.9.0
diff --git a/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsAggregateQueries__c.field-meta.xml b/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsAggregateQueries__c.field-meta.xml
index ed18d98bc..27921bb19 100644
--- a/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsAggregateQueries__c.field-meta.xml
+++ b/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsAggregateQueries__c.field-meta.xml
@@ -4,28 +4,17 @@
Active
None
false
- IMAGE(
- CASE(
- IF(
- (LimitsAggregateQueriesUsed__c / LimitsAggregateQueriesMax__c * 100) >= 90,
- "red",
- IF(
- (LimitsAggregateQueriesUsed__c / LimitsAggregateQueriesMax__c * 100) < 90 && (LimitsAggregateQueriesUsed__c / LimitsAggregateQueriesMax__c * 100) >= 80,
- "yellow",
- "green"
- )
- ),
- "green", "/img/samples/flag_green.gif",
- "yellow", "/img/samples/flag_yellow.gif",
- "red", "/img/samples/flag_red.gif",
- "/s.gif"
- ),
- '', 16, 16
+ IF(
+ (LimitsAggregateQueriesUsed__c / LimitsAggregateQueriesMax__c * 100) >= 90,
+ "⛔",
+ IF(
+ (LimitsAggregateQueriesUsed__c / LimitsAggregateQueriesMax__c * 100) < 90 && (LimitsAggregateQueriesUsed__c / LimitsAggregateQueriesMax__c * 100) >= 80,
+ "⚠️",
+ "✅"
+ )
)
-
- + ' ' +
-
- TEXT(LimitsAggregateQueriesUsed__c ) + ' / ' + TEXT(LimitsAggregateQueriesMax__c ) + ' (' + TEXT(ROUND(LimitsAggregateQueriesUsed__c / LimitsAggregateQueriesMax__c * 100, 2)) + '%)'
+ + ' ' + TEXT(ROUND(LimitsAggregateQueriesUsed__c / LimitsAggregateQueriesMax__c * 100, 2)) + '% ('
+ + TEXT(LimitsAggregateQueriesUsed__c) + ' / ' + TEXT(LimitsAggregateQueriesMax__c) + ')'
BlankAsZero
false
diff --git a/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsAsyncCalls__c.field-meta.xml b/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsAsyncCalls__c.field-meta.xml
index e38d50115..bc7e9a18e 100644
--- a/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsAsyncCalls__c.field-meta.xml
+++ b/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsAsyncCalls__c.field-meta.xml
@@ -4,28 +4,17 @@
Active
None
false
- IMAGE(
- CASE(
- IF(
- (LimitsAsyncCallsUsed__c / LimitsAsyncCallsMax__c * 100) >= 90,
- "red",
- IF(
- (LimitsAsyncCallsUsed__c / LimitsAsyncCallsMax__c * 100) < 90 && (LimitsAsyncCallsUsed__c / LimitsAsyncCallsMax__c * 100) >= 80,
- "yellow",
- "green"
- )
- ),
- "green", "/img/samples/flag_green.gif",
- "yellow", "/img/samples/flag_yellow.gif",
- "red", "/img/samples/flag_red.gif",
- "/s.gif"
- ),
- '', 16, 16
+ IF(
+ (LimitsAsyncCallsUsed__c / LimitsAsyncCallsMax__c * 100) >= 90,
+ "⛔",
+ IF(
+ (LimitsAsyncCallsUsed__c / LimitsAsyncCallsMax__c * 100) < 90 && (LimitsAsyncCallsUsed__c / LimitsAsyncCallsMax__c * 100) >= 80,
+ "⚠️",
+ "✅"
+ )
)
-
- + ' ' +
-
- TEXT(LimitsAsyncCallsUsed__c) + ' / ' + TEXT(LimitsAsyncCallsMax__c) + ' (' + TEXT(ROUND(LimitsAsyncCallsUsed__c / LimitsAsyncCallsMax__c * 100, 2)) + '%)'
+ + ' ' + TEXT(ROUND(LimitsAsyncCallsUsed__c / LimitsAsyncCallsMax__c * 100, 2)) + '% ('
+ + TEXT(LimitsAsyncCallsUsed__c) + ' / ' + TEXT(LimitsAsyncCallsMax__c) + ')'
BlankAsZero
false
diff --git a/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsCallouts__c.field-meta.xml b/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsCallouts__c.field-meta.xml
index 2f98d7ff3..01d654031 100644
--- a/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsCallouts__c.field-meta.xml
+++ b/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsCallouts__c.field-meta.xml
@@ -4,28 +4,17 @@
Active
None
false
- IMAGE(
- CASE(
- IF(
- (LimitsCalloutsUsed__c / LimitsCalloutsMax__c * 100) >= 90,
- "red",
- IF(
- (LimitsCalloutsUsed__c / LimitsCalloutsMax__c * 100) < 90 && (LimitsCalloutsUsed__c / LimitsCalloutsMax__c * 100) >= 80,
- "yellow",
- "green"
- )
- ),
- "green", "/img/samples/flag_green.gif",
- "yellow", "/img/samples/flag_yellow.gif",
- "red", "/img/samples/flag_red.gif",
- "/s.gif"
- ),
- '', 16, 16
+ IF(
+ (LimitsCalloutsUsed__c / LimitsCalloutsMax__c * 100) >= 90,
+ "⛔",
+ IF(
+ (LimitsCalloutsUsed__c / LimitsCalloutsMax__c * 100) < 90 && (LimitsCalloutsUsed__c / LimitsCalloutsMax__c * 100) >= 80,
+ "⚠️",
+ "✅"
+ )
)
-
- + ' ' +
-
- TEXT(LimitsCalloutsUsed__c ) + ' / ' + TEXT(LimitsCalloutsMax__c ) + ' (' + TEXT(ROUND(LimitsCalloutsUsed__c / LimitsCalloutsMax__c * 100, 2)) + '%)'
+ + ' ' + TEXT(ROUND(LimitsCalloutsUsed__c / LimitsCalloutsMax__c * 100, 2)) + '% ('
+ + TEXT(LimitsCalloutsUsed__c) + ' / ' + TEXT(LimitsCalloutsMax__c) + ')'
BlankAsZero
false
diff --git a/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsCpuTime__c.field-meta.xml b/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsCpuTime__c.field-meta.xml
index 388468530..850c345fe 100644
--- a/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsCpuTime__c.field-meta.xml
+++ b/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsCpuTime__c.field-meta.xml
@@ -4,28 +4,17 @@
Active
None
false
- IMAGE(
- CASE(
+ IF(
+ (LimitsCpuTimeUsed__c / LimitsCpuTimeMax__c * 100) >= 90,
+ "⛔",
IF(
- (LimitsCpuTimeUsed__c / LimitsCpuTimeMax__c * 100) >= 90,
- "red",
- IF(
(LimitsCpuTimeUsed__c / LimitsCpuTimeMax__c * 100) < 90 && (LimitsCpuTimeUsed__c / LimitsCpuTimeMax__c * 100) >= 80,
- "yellow",
- "green"
- )
- ),
- "green", "/img/samples/flag_green.gif",
- "yellow", "/img/samples/flag_yellow.gif",
- "red", "/img/samples/flag_red.gif",
- "/s.gif"
- ),
- '', 16, 16
-)
-
-+ ' ' +
-
-TEXT(LimitsCpuTimeUsed__c) + ' / ' + TEXT(LimitsCpuTimeMax__c) + ' (' + TEXT(ROUND(LimitsCpuTimeUsed__c / LimitsCpuTimeMax__c * 100, 2)) + '%)'
+ "⚠️",
+ "✅"
+ )
+ )
+ + ' ' + TEXT(ROUND(LimitsCpuTimeUsed__c / LimitsCpuTimeMax__c * 100, 2)) + '% ('
+ + TEXT(LimitsCpuTimeUsed__c) + ' / ' + TEXT(LimitsCpuTimeMax__c) + ')'
BlankAsZero
false
diff --git a/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsDmlRows__c.field-meta.xml b/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsDmlRows__c.field-meta.xml
index 20e0b2f19..432e6b3c8 100644
--- a/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsDmlRows__c.field-meta.xml
+++ b/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsDmlRows__c.field-meta.xml
@@ -4,28 +4,17 @@
Active
None
false
- IMAGE(
- CASE(
- IF(
- (LimitsDmlRowsUsed__c / LimitsDmlRowsMax__c * 100) >= 90,
- "red",
- IF(
- (LimitsDmlRowsUsed__c / LimitsDmlRowsMax__c * 100) < 90 && (LimitsDmlRowsUsed__c / LimitsDmlRowsMax__c * 100) >= 80,
- "yellow",
- "green"
- )
- ),
- "green", "/img/samples/flag_green.gif",
- "yellow", "/img/samples/flag_yellow.gif",
- "red", "/img/samples/flag_red.gif",
- "/s.gif"
- ),
- '', 16, 16
+ IF(
+ (LimitsDmlRowsUsed__c / LimitsDmlRowsMax__c * 100) >= 90,
+ "⛔",
+ IF(
+ (LimitsDmlRowsUsed__c / LimitsDmlRowsMax__c * 100) < 90 && (LimitsDmlRowsUsed__c / LimitsDmlRowsMax__c * 100) >= 80,
+ "⚠️",
+ "✅"
+ )
)
-
- + ' ' +
-
- TEXT(LimitsDmlRowsUsed__c) + ' / ' + TEXT(LimitsDmlRowsMax__c) + ' (' + TEXT(ROUND(LimitsDmlRowsUsed__c / LimitsDmlRowsMax__c * 100, 2)) + '%)'
+ + ' ' + TEXT(ROUND(LimitsDmlRowsUsed__c / LimitsDmlRowsMax__c * 100, 2)) + '% ('
+ + TEXT(LimitsDmlRowsUsed__c) + ' / ' + TEXT(LimitsDmlRowsMax__c) + ')'
BlankAsZero
false
diff --git a/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsDmlStatements__c.field-meta.xml b/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsDmlStatements__c.field-meta.xml
index 86c01d92f..8d439dc08 100644
--- a/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsDmlStatements__c.field-meta.xml
+++ b/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsDmlStatements__c.field-meta.xml
@@ -4,28 +4,17 @@
Active
None
false
- IMAGE(
- CASE(
- IF(
- (LimitsDmlStatementsUsed__c / LimitsDmlStatementsMax__c * 100) >= 90,
- "red",
- IF(
- (LimitsDmlStatementsUsed__c / LimitsDmlStatementsMax__c * 100) < 90 && (LimitsDmlStatementsUsed__c / LimitsDmlStatementsMax__c * 100) >= 80,
- "yellow",
- "green"
- )
- ),
- "green", "/img/samples/flag_green.gif",
- "yellow", "/img/samples/flag_yellow.gif",
- "red", "/img/samples/flag_red.gif",
- "/s.gif"
- ),
- '', 16, 16
+ IF(
+ (LimitsDmlStatementsUsed__c / LimitsDmlStatementsMax__c * 100) >= 90,
+ "⛔",
+ IF(
+ (LimitsDmlStatementsUsed__c / LimitsDmlStatementsMax__c * 100) < 90 && (LimitsDmlStatementsUsed__c / LimitsDmlStatementsMax__c * 100) >= 80,
+ "⚠️",
+ "✅"
+ )
)
-
- + ' ' +
-
- TEXT(LimitsDmlStatementsUsed__c ) + ' / ' + TEXT(LimitsDmlStatementsMax__c) + ' (' + TEXT(ROUND(LimitsDmlStatementsUsed__c / LimitsDmlStatementsMax__c * 100, 2)) + '%)'
+ + ' ' + TEXT(ROUND(LimitsDmlStatementsUsed__c / LimitsDmlStatementsMax__c * 100, 2)) + '% ('
+ + TEXT(LimitsDmlStatementsUsed__c) + ' / ' + TEXT(LimitsDmlStatementsMax__c) + ')'
BlankAsZero
false
diff --git a/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsEmailInvocations__c.field-meta.xml b/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsEmailInvocations__c.field-meta.xml
index 8be493fbb..f7bee8ccc 100644
--- a/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsEmailInvocations__c.field-meta.xml
+++ b/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsEmailInvocations__c.field-meta.xml
@@ -4,28 +4,17 @@
Active
None
false
- IMAGE(
- CASE(
- IF(
- (LimitsEmailInvocationsUsed__c / LimitsEmailInvocationsMax__c * 100) >= 90,
- "red",
- IF(
- (LimitsEmailInvocationsUsed__c / LimitsEmailInvocationsMax__c * 100) < 90 && (LimitsEmailInvocationsUsed__c / LimitsEmailInvocationsMax__c * 100) >= 80,
- "yellow",
- "green"
- )
- ),
- "green", "/img/samples/flag_green.gif",
- "yellow", "/img/samples/flag_yellow.gif",
- "red", "/img/samples/flag_red.gif",
- "/s.gif"
- ),
- '', 16, 16
+ IF(
+ (LimitsEmailInvocationsUsed__c / LimitsEmailInvocationsMax__c * 100) >= 90,
+ "⛔",
+ IF(
+ (LimitsEmailInvocationsUsed__c / LimitsEmailInvocationsMax__c * 100) < 90 && (LimitsEmailInvocationsUsed__c / LimitsEmailInvocationsMax__c * 100) >= 80,
+ "⚠️",
+ "✅"
+ )
)
-
- + ' ' +
-
- TEXT(LimitsEmailInvocationsUsed__c) + ' / ' + TEXT(LimitsEmailInvocationsMax__c) + ' (' + TEXT(ROUND(LimitsEmailInvocationsUsed__c / LimitsEmailInvocationsMax__c * 100, 2)) + '%)'
+ + ' ' + TEXT(ROUND(LimitsEmailInvocationsUsed__c / LimitsEmailInvocationsMax__c * 100, 2)) + '% ('
+ + TEXT(LimitsEmailInvocationsUsed__c) + ' / ' + TEXT(LimitsEmailInvocationsMax__c) + ')'
BlankAsZero
false
diff --git a/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsFutureCalls__c.field-meta.xml b/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsFutureCalls__c.field-meta.xml
index 09794b6bd..7495cfb66 100644
--- a/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsFutureCalls__c.field-meta.xml
+++ b/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsFutureCalls__c.field-meta.xml
@@ -4,28 +4,17 @@
Active
None
false
- IMAGE(
- CASE(
- IF(
- (LimitsFutureCallsUsed__c / LimitsFutureCallsMax__c * 100) >= 90,
- "red",
- IF(
- (LimitsFutureCallsUsed__c / LimitsFutureCallsMax__c * 100) < 90 && (LimitsFutureCallsUsed__c / LimitsFutureCallsMax__c * 100) >= 80,
- "yellow",
- "green"
- )
- ),
- "green", "/img/samples/flag_green.gif",
- "yellow", "/img/samples/flag_yellow.gif",
- "red", "/img/samples/flag_red.gif",
- "/s.gif"
- ),
- '', 16, 16
+ IF(
+ (LimitsFutureCallsUsed__c / LimitsFutureCallsMax__c * 100) >= 90,
+ "⛔",
+ IF(
+ (LimitsFutureCallsUsed__c / LimitsFutureCallsMax__c * 100) < 90 && (LimitsFutureCallsUsed__c / LimitsFutureCallsMax__c * 100) >= 80,
+ "⚠️",
+ "✅"
+ )
)
-
- + ' ' +
-
- TEXT(LimitsFutureCallsUsed__c ) + ' / ' + TEXT(LimitsFutureCallsMax__c) + ' (' + TEXT(ROUND(LimitsFutureCallsUsed__c / LimitsFutureCallsMax__c * 100, 2)) + '%)'
+ + ' ' + TEXT(ROUND(LimitsFutureCallsUsed__c / LimitsFutureCallsMax__c * 100, 2)) + '% ('
+ + TEXT(LimitsFutureCallsUsed__c) + ' / ' + TEXT(LimitsFutureCallsMax__c) + ')'
BlankAsZero
false
diff --git a/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsHeapSize__c.field-meta.xml b/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsHeapSize__c.field-meta.xml
index 0bbf70a2d..87f25d119 100644
--- a/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsHeapSize__c.field-meta.xml
+++ b/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsHeapSize__c.field-meta.xml
@@ -4,28 +4,17 @@
Active
None
false
- IMAGE(
- CASE(
- IF(
- (LimitsHeapSizeUsed__c / LimitsHeapSizeMax__c * 100) >= 90,
- "red",
- IF(
- (LimitsHeapSizeUsed__c / LimitsHeapSizeMax__c * 100) < 90 && (LimitsHeapSizeUsed__c / LimitsHeapSizeMax__c * 100) >= 80,
- "yellow",
- "green"
- )
- ),
- "green", "/img/samples/flag_green.gif",
- "yellow", "/img/samples/flag_yellow.gif",
- "red", "/img/samples/flag_red.gif",
- "/s.gif"
- ),
- '', 16, 16
+ IF(
+ (LimitsHeapSizeUsed__c / LimitsHeapSizeMax__c * 100) >= 90,
+ "⛔",
+ IF(
+ (LimitsHeapSizeUsed__c / LimitsHeapSizeMax__c * 100) < 90 && (LimitsHeapSizeUsed__c / LimitsHeapSizeMax__c * 100) >= 80,
+ "⚠️",
+ "✅"
+ )
)
-
- + ' ' +
-
- TEXT(LimitsHeapSizeUsed__c) + ' / ' + TEXT(LimitsHeapSizeMax__c) + ' (' + TEXT(ROUND(LimitsHeapSizeUsed__c / LimitsHeapSizeMax__c * 100, 2)) + '%)'
+ + ' ' + TEXT(ROUND(LimitsHeapSizeUsed__c / LimitsHeapSizeMax__c * 100, 2)) + '% ('
+ + TEXT(LimitsHeapSizeUsed__c) + ' / ' + TEXT(LimitsHeapSizeMax__c) + ')'
BlankAsZero
false
diff --git a/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsMobilePushApexCalls__c.field-meta.xml b/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsMobilePushApexCalls__c.field-meta.xml
index ba14270b6..0a6423ed2 100644
--- a/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsMobilePushApexCalls__c.field-meta.xml
+++ b/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsMobilePushApexCalls__c.field-meta.xml
@@ -4,28 +4,17 @@
Active
None
false
- IMAGE(
- CASE(
- IF(
- (LimitsMobilePushApexCallsUsed__c / LimitsMobilePushApexCallsMax__c * 100) >= 90,
- "red",
- IF(
- (LimitsMobilePushApexCallsUsed__c / LimitsMobilePushApexCallsMax__c * 100) < 90 && (LimitsMobilePushApexCallsUsed__c / LimitsMobilePushApexCallsMax__c * 100) >= 80,
- "yellow",
- "green"
- )
- ),
- "green", "/img/samples/flag_green.gif",
- "yellow", "/img/samples/flag_yellow.gif",
- "red", "/img/samples/flag_red.gif",
- "/s.gif"
- ),
- '', 16, 16
+ IF(
+ (LimitsMobilePushApexCallsUsed__c / LimitsMobilePushApexCallsMax__c * 100) >= 90,
+ "⛔",
+ IF(
+ (LimitsMobilePushApexCallsUsed__c / LimitsMobilePushApexCallsMax__c * 100) < 90 && (LimitsMobilePushApexCallsUsed__c / LimitsMobilePushApexCallsMax__c * 100) >= 80,
+ "⚠️",
+ "✅"
+ )
)
-
- + ' ' +
-
- TEXT(LimitsMobilePushApexCallsUsed__c) + ' / ' + TEXT(LimitsMobilePushApexCallsMax__c) + ' (' + TEXT(ROUND(LimitsMobilePushApexCallsUsed__c / LimitsMobilePushApexCallsMax__c * 100, 2)) + '%)'
+ + ' ' + TEXT(ROUND(LimitsMobilePushApexCallsUsed__c / LimitsMobilePushApexCallsMax__c * 100, 2)) + '% ('
+ + TEXT(LimitsMobilePushApexCallsUsed__c) + ' / ' + TEXT(LimitsMobilePushApexCallsMax__c) + ')'
BlankAsZero
false
diff --git a/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsPublishImmediateDmlStatements__c.field-meta.xml b/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsPublishImmediateDmlStatements__c.field-meta.xml
index 826862c5c..1a0a04bb1 100644
--- a/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsPublishImmediateDmlStatements__c.field-meta.xml
+++ b/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsPublishImmediateDmlStatements__c.field-meta.xml
@@ -4,28 +4,17 @@
Active
None
false
- IMAGE(
- CASE(
- IF(
- (LimitsPublishImmediateDmlStatementsUsed__c / LimitsPublishImmediateDmlStatementsMax__c * 100) >= 90,
- "red",
- IF(
- (LimitsPublishImmediateDmlStatementsUsed__c / LimitsPublishImmediateDmlStatementsMax__c * 100) < 90 && (LimitsPublishImmediateDmlStatementsUsed__c / LimitsPublishImmediateDmlStatementsMax__c * 100) >= 80,
- "yellow",
- "green"
- )
- ),
- "green", "/img/samples/flag_green.gif",
- "yellow", "/img/samples/flag_yellow.gif",
- "red", "/img/samples/flag_red.gif",
- "/s.gif"
- ),
- '', 16, 16
+ IF(
+ (LimitsPublishImmediateDmlStatementsUsed__c / LimitsPublishImmediateDmlStatementsMax__c * 100) >= 90,
+ "⛔",
+ IF(
+ (LimitsPublishImmediateDmlStatementsUsed__c / LimitsPublishImmediateDmlStatementsMax__c * 100) < 90 && (LimitsPublishImmediateDmlStatementsUsed__c / LimitsPublishImmediateDmlStatementsMax__c * 100) >= 80,
+ "⚠️",
+ "✅"
+ )
)
-
- + ' ' +
-
- TEXT(LimitsPublishImmediateDmlStatementsUsed__c) + ' / ' + TEXT(LimitsPublishImmediateDmlStatementsMax__c) + ' (' + TEXT(ROUND(LimitsPublishImmediateDmlStatementsUsed__c / LimitsPublishImmediateDmlStatementsMax__c * 100, 2)) + '%)'
+ + ' ' + TEXT(ROUND(LimitsPublishImmediateDmlStatementsUsed__c / LimitsPublishImmediateDmlStatementsMax__c * 100, 2)) + '% ('
+ + TEXT(LimitsPublishImmediateDmlStatementsUsed__c) + ' / ' + TEXT(LimitsPublishImmediateDmlStatementsMax__c) + ')'
BlankAsZero
false
diff --git a/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsQueueableJobs__c.field-meta.xml b/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsQueueableJobs__c.field-meta.xml
index 61f3f09ad..33dcd1f17 100644
--- a/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsQueueableJobs__c.field-meta.xml
+++ b/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsQueueableJobs__c.field-meta.xml
@@ -4,28 +4,17 @@
Active
None
false
- IMAGE(
- CASE(
- IF(
- (LimitsQueueableJobsUsed__c / LimitsQueueableJobsMax__c * 100) >= 90,
- "red",
- IF(
- (LimitsQueueableJobsUsed__c / LimitsQueueableJobsMax__c * 100) < 90 && (LimitsQueueableJobsUsed__c / LimitsQueueableJobsMax__c * 100) >= 80,
- "yellow",
- "green"
- )
- ),
- "green", "/img/samples/flag_green.gif",
- "yellow", "/img/samples/flag_yellow.gif",
- "red", "/img/samples/flag_red.gif",
- "/s.gif"
- ),
- '', 16, 16
+ IF(
+ (LimitsQueueableJobsUsed__c / LimitsQueueableJobsMax__c * 100) >= 90,
+ "⛔",
+ IF(
+ (LimitsQueueableJobsUsed__c / LimitsQueueableJobsMax__c * 100) < 90 && (LimitsQueueableJobsUsed__c / LimitsQueueableJobsMax__c * 100) >= 80,
+ "⚠️",
+ "✅"
+ )
)
-
- + ' ' +
-
- TEXT(LimitsQueueableJobsUsed__c) + ' / ' + TEXT(LimitsQueueableJobsMax__c) + ' (' + TEXT(ROUND(LimitsQueueableJobsUsed__c / LimitsQueueableJobsMax__c * 100, 2)) + '%)'
+ + ' ' + TEXT(ROUND(LimitsQueueableJobsUsed__c / LimitsQueueableJobsMax__c * 100, 2)) + '% ('
+ + TEXT(LimitsQueueableJobsUsed__c) + ' / ' + TEXT(LimitsQueueableJobsMax__c) + ')'
BlankAsZero
false
diff --git a/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsSoqlQueries__c.field-meta.xml b/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsSoqlQueries__c.field-meta.xml
index c392ffc95..37184a8a7 100644
--- a/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsSoqlQueries__c.field-meta.xml
+++ b/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsSoqlQueries__c.field-meta.xml
@@ -4,28 +4,17 @@
Active
None
false
- IMAGE(
- CASE(
- IF(
- (LimitsSoqlQueriesUsed__c / LimitsSoqlQueriesMax__c * 100) >= 90,
- "red",
- IF(
- (LimitsSoqlQueriesUsed__c / LimitsSoqlQueriesMax__c * 100) < 90 && (LimitsSoqlQueriesUsed__c / LimitsSoqlQueriesMax__c * 100) >= 80,
- "yellow",
- "green"
- )
- ),
- "green", "/img/samples/flag_green.gif",
- "yellow", "/img/samples/flag_yellow.gif",
- "red", "/img/samples/flag_red.gif",
- "/s.gif"
- ),
- '', 16, 16
+ IF(
+ (LimitsSoqlQueriesUsed__c / LimitsSoqlQueriesMax__c * 100) >= 90,
+ "⛔",
+ IF(
+ (LimitsSoqlQueriesUsed__c / LimitsSoqlQueriesMax__c * 100) < 90 && (LimitsSoqlQueriesUsed__c / LimitsSoqlQueriesMax__c * 100) >= 80,
+ "⚠️",
+ "✅"
+ )
)
-
- + ' ' +
-
- TEXT(LimitsSoqlQueriesUsed__c) + ' / ' + TEXT(LimitsSoqlQueriesMax__c) + ' (' + TEXT(ROUND(LimitsSoqlQueriesUsed__c / LimitsSoqlQueriesMax__c * 100, 2)) + '%)'
+ + ' ' + TEXT(ROUND(LimitsSoqlQueriesUsed__c / LimitsSoqlQueriesMax__c * 100, 2)) + '% ('
+ + TEXT(LimitsSoqlQueriesUsed__c) + ' / ' + TEXT(LimitsSoqlQueriesMax__c) + ')'
BlankAsZero
false
diff --git a/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsSoqlQueryLocatorRows__c.field-meta.xml b/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsSoqlQueryLocatorRows__c.field-meta.xml
index cebeb6c33..3d1e78adb 100644
--- a/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsSoqlQueryLocatorRows__c.field-meta.xml
+++ b/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsSoqlQueryLocatorRows__c.field-meta.xml
@@ -4,28 +4,17 @@
Active
None
false
- IMAGE(
- CASE(
- IF(
- (LimitsSoqlQueryLocatorRowsUsed__c / LimitsSoqlQueryLocatorRowsMax__c * 100) >= 90,
- "red",
- IF(
- (LimitsSoqlQueryLocatorRowsUsed__c / LimitsSoqlQueryLocatorRowsMax__c * 100) < 90 && (LimitsSoqlQueryLocatorRowsUsed__c / LimitsSoqlQueryLocatorRowsMax__c * 100) >= 80,
- "yellow",
- "green"
- )
- ),
- "green", "/img/samples/flag_green.gif",
- "yellow", "/img/samples/flag_yellow.gif",
- "red", "/img/samples/flag_red.gif",
- "/s.gif"
- ),
- '', 16, 16
+ IF(
+ (LimitsSoqlQueryLocatorRowsUsed__c / LimitsSoqlQueryLocatorRowsMax__c * 100) >= 90,
+ "⛔",
+ IF(
+ (LimitsSoqlQueryLocatorRowsUsed__c / LimitsSoqlQueryLocatorRowsMax__c * 100) < 90 && (LimitsSoqlQueryLocatorRowsUsed__c / LimitsSoqlQueryLocatorRowsMax__c * 100) >= 80,
+ "⚠️",
+ "✅"
+ )
)
-
- + ' ' +
-
- TEXT(LimitsSoqlQueryLocatorRowsUsed__c) + ' / ' + TEXT(LimitsSoqlQueryLocatorRowsMax__c) + ' (' + TEXT(ROUND(LimitsSoqlQueryLocatorRowsUsed__c / LimitsSoqlQueryLocatorRowsMax__c * 100, 2)) + '%)'
+ + ' ' + TEXT(ROUND(LimitsSoqlQueryLocatorRowsUsed__c / LimitsSoqlQueryLocatorRowsMax__c * 100, 2)) + '% ('
+ + TEXT(LimitsSoqlQueryLocatorRowsUsed__c) + ' / ' + TEXT(LimitsSoqlQueryLocatorRowsMax__c) + ')'
BlankAsZero
false
diff --git a/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsSoqlQueryRows__c.field-meta.xml b/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsSoqlQueryRows__c.field-meta.xml
index c937222ec..3db929434 100644
--- a/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsSoqlQueryRows__c.field-meta.xml
+++ b/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsSoqlQueryRows__c.field-meta.xml
@@ -4,28 +4,17 @@
Active
None
false
- IMAGE(
- CASE(
- IF(
- (LimitsSoqlQueryRowsUsed__c / LimitsSoqlQueryRowsMax__c * 100) >= 90,
- "red",
- IF(
- (LimitsSoqlQueryRowsUsed__c / LimitsSoqlQueryRowsMax__c * 100) < 90 && (LimitsSoqlQueryRowsUsed__c / LimitsSoqlQueryRowsMax__c * 100) >= 80,
- "yellow",
- "green"
- )
- ),
- "green", "/img/samples/flag_green.gif",
- "yellow", "/img/samples/flag_yellow.gif",
- "red", "/img/samples/flag_red.gif",
- "/s.gif"
- ),
- '', 16, 16
+ IF(
+ (LimitsSoqlQueryRowsUsed__c / LimitsSoqlQueryRowsMax__c * 100) >= 90,
+ "⛔",
+ IF(
+ (LimitsSoqlQueryRowsUsed__c / LimitsSoqlQueryRowsMax__c * 100) < 90 && (LimitsSoqlQueryRowsUsed__c / LimitsSoqlQueryRowsMax__c * 100) >= 80,
+ "⚠️",
+ "✅"
+ )
)
-
- + ' ' +
-
- TEXT(LimitsSoqlQueryRowsUsed__c) + ' / ' + TEXT(LimitsSoqlQueryRowsMax__c) + ' (' + TEXT(ROUND(LimitsSoqlQueryRowsUsed__c / LimitsSoqlQueryRowsMax__c * 100, 2)) + '%)'
+ + ' ' + TEXT(ROUND(LimitsSoqlQueryRowsUsed__c / LimitsSoqlQueryRowsMax__c * 100, 2)) + '% ('
+ + TEXT(LimitsSoqlQueryRowsUsed__c) + ' / ' + TEXT(LimitsSoqlQueryRowsMax__c) + ')'
BlankAsZero
false
diff --git a/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsSoslSearches__c.field-meta.xml b/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsSoslSearches__c.field-meta.xml
index b96f27c1e..84d37a58e 100644
--- a/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsSoslSearches__c.field-meta.xml
+++ b/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LimitsSoslSearches__c.field-meta.xml
@@ -4,28 +4,17 @@
Active
None
false
- IMAGE(
- CASE(
- IF(
- (LimitsSoslSearchesUsed__c / LimitsSoslSearchesMax__c * 100) >= 90,
- "red",
- IF(
- (LimitsSoslSearchesUsed__c / LimitsSoslSearchesMax__c * 100) < 90 && (LimitsSoslSearchesUsed__c / LimitsSoslSearchesMax__c * 100) >= 80,
- "yellow",
- "green"
- )
- ),
- "green", "/img/samples/flag_green.gif",
- "yellow", "/img/samples/flag_yellow.gif",
- "red", "/img/samples/flag_red.gif",
- "/s.gif"
- ),
- '', 16, 16
+ IF(
+ (LimitsSoslSearchesUsed__c / LimitsSoslSearchesMax__c * 100) >= 90,
+ "⛔",
+ IF(
+ (LimitsSoslSearchesUsed__c / LimitsSoslSearchesMax__c * 100) < 90 && (LimitsSoslSearchesUsed__c / LimitsSoslSearchesMax__c * 100) >= 80,
+ "⚠️",
+ "✅"
+ )
)
-
- + ' ' +
-
- TEXT(LimitsSoslSearchesUsed__c) + ' / ' + TEXT(LimitsSoslSearchesMax__c) + ' (' + TEXT(ROUND(LimitsSoslSearchesUsed__c / LimitsSoslSearchesMax__c * 100, 2)) + '%)'
+ + ' ' + TEXT(ROUND(LimitsSoslSearchesUsed__c / LimitsSoslSearchesMax__c * 100, 2)) + '% ('
+ + TEXT(LimitsSoslSearchesUsed__c) + ' / ' + TEXT(LimitsSoslSearchesMax__c) + ')'
BlankAsZero
x
false
diff --git a/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LoggingLevelWithImage__c.field-meta.xml b/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LoggingLevelWithImage__c.field-meta.xml
index 73166cb52..10d12332b 100644
--- a/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LoggingLevelWithImage__c.field-meta.xml
+++ b/nebula-logger/core/main/log-management/objects/LogEntry__c/fields/LoggingLevelWithImage__c.field-meta.xml
@@ -6,9 +6,9 @@
false
CASE(
TEXT(LoggingLevel__c),
- 'ERROR', IMAGE('/img/samples/flag_red.gif', '', 16, 16),
- 'WARN', IMAGE('/img/samples/flag_yellow.gif', '', 16, 16),
- IMAGE('/img/samples/flag_green.gif', '', 16, 16)
+ 'ERROR', '⛔',
+ 'WARN', '⚠️',
+ '✅'
)
+ ' ' + TEXT(LoggingLevel__c)
BlankAsZero
diff --git a/nebula-logger/core/main/logger-engine/classes/Logger.cls b/nebula-logger/core/main/logger-engine/classes/Logger.cls
index 3be0122bc..f5efa1b6c 100644
--- a/nebula-logger/core/main/logger-engine/classes/Logger.cls
+++ b/nebula-logger/core/main/logger-engine/classes/Logger.cls
@@ -15,7 +15,7 @@
global with sharing class Logger {
// There's no reliable way to get the version number dynamically in Apex
@TestVisible
- private static final String CURRENT_VERSION_NUMBER = 'v4.9.2';
+ private static final String CURRENT_VERSION_NUMBER = 'v4.9.3';
private static final LoggingLevel DEFAULT_LOGGING_LEVEL = LoggingLevel.DEBUG;
private static final Set IGNORED_APEX_CLASSES = initializeIgnoredApexClasses();
private static final List LOG_ENTRIES_BUFFER = new List();
diff --git a/package.json b/package.json
index 5572a1afa..0d45b0516 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "nebula-logger",
- "version": "4.9.2",
+ "version": "4.9.3",
"description": "The most robust logger for Salesforce. Works with Apex, Lightning Components, Flow, Process Builder & Integrations. Designed for Salesforce admins, developers & architects.",
"author": "Jonathan Gillespie",
"license": "MIT",
diff --git a/sfdx-project.json b/sfdx-project.json
index c28a0ea5b..3ede8665c 100644
--- a/sfdx-project.json
+++ b/sfdx-project.json
@@ -14,9 +14,9 @@
"package": "Nebula Logger - Core",
"path": "./nebula-logger/core",
"definitionFile": "./config/scratch-orgs/base-scratch-def.json",
- "versionNumber": "4.9.2.NEXT",
- "versionName": "Enhancements for logEntryEventStream LWC",
- "versionDescription": "Added split-view toggling, added fullscreen mode, and added tabular view (with fields configurable via LoggerParameter.LogEntryEventStreamDisplayFields)",
+ "versionNumber": "4.9.3.NEXT",
+ "versionName": "New Indicator Icons",
+ "versionDescription": "Updated formula fields on LogEntry__c to replace old flag icons with emojis that are more visually distinct from one another, updated format of LogEntry__c limits formula fields to display percentage first (after new indicators) with limit used & max fields displayed in parenthesis",
"releaseNotesUrl": "https://github.com/jongpie/NebulaLogger/releases",
"unpackagedMetadata": {
"path": "./nebula-logger/extra-tests"
@@ -146,6 +146,7 @@
"Nebula Logger - Core@4.9.0-logbatchpurger-batch-size-increased": "04t5Y0000023R2DQAU",
"Nebula Logger - Core@4.9.1-track-impersonating-user": "04t5Y0000023R79QAE",
"Nebula Logger - Core@4.9.2-enhancements-for-log-entry-event-stream-lwc": "04t5Y0000023R7iQAE",
+ "Nebula Logger - Core@4.9.3-new-indicator-icons": "04t5Y0000023R7sQAE",
"Nebula Logger - Plugin - Async Failure Additions": "0Ho5Y000000blO4SAI",
"Nebula Logger - Plugin - Async Failure Additions@1.0.0": "04t5Y0000015lhiQAA",
"Nebula Logger - Plugin - Async Failure Additions@1.0.1": "04t5Y0000015lhsQAA",