Quantcast
Channel: [Q&A - FAQ Neotys] Last questions
Viewing all articles
Browse latest Browse all 2283

Create javascript Log in Cloud

$
0
0

Hello,

In my script I have a javascript code that captures 2 variables "order_id and order_item_id, for audit and analysis questions I want to generate a log that registers these values, this tests will be performed in the cloud so we do not know how to perform this process log.

We try with these parameters but none shows me the desired information in the results

logger.FATAL("producto1="+producto1 + "|" + "sku_1="+sku1 + "|" + "producto2="+producto2 + "|" + "sku_2="+sku2 );
logger.FATAL(" order_id_1 =" + order_id_1 + "|" + "order_item_id_1 :" + order_item_id_1 + "|" + " order_id_2" + order_id_2 + "|" + "order_item_id_2 :" + order_item_id_2 )

logger.ERROR("producto1="+producto1 + "|" + "sku_1="+sku1 + "|" + "producto2="+producto2 + "|" + "sku_2="+sku2 );
logger.ERROR(" order_id_1 =" + order_id_1 + "|" + "order_item_id_1 :" + order_item_id_1 + "|" + " order_id_2" + order_id_2 + "|" + "order_item_id_2 :" + order_item_id_2 )

logger.WARNING("producto1="+producto1 + "|" + "sku_1="+sku1 + "|" + "producto2="+producto2 + "|" + "sku_2="+sku2 );
logger.WARNING(" order_id_1 =" + order_id_1 + "|" + "order_item_id_1 :" + order_item_id_1 + "|" + " order_id_2" + order_id_2 + "|" + "order_item_id_2 :" + order_item_id_2 )

logger.DEBUG("producto1="+producto1 + "|" + "sku_1="+sku1 + "|" + "producto2="+producto2 + "|" + "sku_2="+sku2 );
logger.DEBUG(" order_id_1 =" + order_id_1 + "|" + "order_item_id_1 :" + order_item_id_1 + "|" + " order_id_2" + order_id_2 + "|" + "order_item_id_2 :" + order_item_id_2 )

Could they help us, give us some idea with this?


Viewing all articles
Browse latest Browse all 2283

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>