How to access logger from lang-javascript


(Abhishek Batra) #1

I have just started using lang-javascript for calculating a custom score,
and want to debug the script I have written. I checked out the following
links:

https://groups.google.com/forum/#!searchin/elasticsearch/javascript$20log/elasticsearch/NwTjyJ35ZoU/ffEPiJq_K0QJ

https://groups.google.com/forum/#!searchin/elasticsearch/javascript$20log/elasticsearch/wwaaWsKZ7Nw/sVpEqV2Mi3YJ

and searched through elasticsearch documentation but am unable to figure
out how to log from within the lang-javascript script. Can anyone point to
any relevant documentation or give an example?

Thanks

--
Please update your bookmarks! We have moved to https://discuss.elastic.co/

You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/1b29c929-7693-41f6-953c-5fd552526cad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #2