monkey-front-core 21.0.21 → 21.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1664,6 +1664,17 @@ class MonkeyEcxDatadogService {
|
|
|
1664
1664
|
this._allSet = true;
|
|
1665
1665
|
this.applyInfoToDataDog();
|
|
1666
1666
|
}
|
|
1667
|
+
if (environment.environment === 'hmg') {
|
|
1668
|
+
const originalLoggerError = datadogLogs.logger.error;
|
|
1669
|
+
datadogLogs.logger.error = (message, messageContext, error) => {
|
|
1670
|
+
console.log('=== MonkeyEcxLogs ===');
|
|
1671
|
+
console.log(message);
|
|
1672
|
+
console.log(messageContext);
|
|
1673
|
+
console.log(error);
|
|
1674
|
+
console.log('=========');
|
|
1675
|
+
originalLoggerError(message, messageContext, error);
|
|
1676
|
+
};
|
|
1677
|
+
}
|
|
1667
1678
|
}
|
|
1668
1679
|
async applyInfoToDataDog() {
|
|
1669
1680
|
try {
|