Remove extra console logs.
This commit is contained in:
@@ -63,12 +63,12 @@ export const logImEXEvent = (eventName, additionalParams, stateProp = null) => {
|
|||||||
null,
|
null,
|
||||||
...additionalParams,
|
...additionalParams,
|
||||||
};
|
};
|
||||||
console.log(
|
// console.log(
|
||||||
"%c[Analytics]",
|
// "%c[Analytics]",
|
||||||
"background-color: green ;font-weight:bold;",
|
// "background-color: green ;font-weight:bold;",
|
||||||
eventName,
|
// eventName,
|
||||||
eventParams
|
// eventParams
|
||||||
);
|
// );
|
||||||
logEvent(analytics, eventName, eventParams);
|
logEvent(analytics, eventName, eventParams);
|
||||||
|
|
||||||
//Log event to OpenReplay server.
|
//Log event to OpenReplay server.
|
||||||
|
|||||||
@@ -38,9 +38,9 @@ const roundTripLink = new ApolloLink((operation, forward) => {
|
|||||||
return forward(operation).map((data) => {
|
return forward(operation).map((data) => {
|
||||||
// Called after server responds
|
// Called after server responds
|
||||||
const time = new Date() - operation.getContext().start;
|
const time = new Date() - operation.getContext().start;
|
||||||
console.log(
|
// console.log(
|
||||||
`Operation ${operation.operationName} took ${time} to complete`
|
// `Operation ${operation.operationName} took ${time} to complete`
|
||||||
);
|
// );
|
||||||
TrackExecutionTime(operation.operationName, time);
|
TrackExecutionTime(operation.operationName, time);
|
||||||
return data;
|
return data;
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user