Skip to content

Commit 1275423

Browse files
committed
fix: adding actionName into console.log
Parity with logging in other internal functions
1 parent bc369e8 commit 1275423

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/logging/NewRelicLoggingService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const pageActionNameIgnoredError = 'IGNORED_ERROR';
2323

2424
function sendPageAction(actionName, message, customAttributes) {
2525
if (process.env.NODE_ENV === 'development') {
26-
console.log(message, customAttributes); // eslint-disable-line
26+
console.log(actionName, message, customAttributes); // eslint-disable-line
2727
}
2828
if (window && typeof window.newrelic !== 'undefined') {
2929
window.newrelic.addPageAction(actionName, { message, ...customAttributes });

0 commit comments

Comments
 (0)