How to print or log on function javascript Orientdb

假如想象 提交于 2019-12-12 10:17:24

问题


I trying to use print("Hello world") function Orientdb for debugging. After click on excute() there is no any result appear.


回答1:


The best way to do this is using OrientDB standard logger:

 com.orientechnologies.common.log.OLogManager.instance().info(this, "This is a log!")



回答2:


To see the print you have to open the 'Server.bat' or 'Server.sh' window and you'll see your result.

Server.bat

Server.sh



来源:https://stackoverflow.com/questions/35206122/how-to-print-or-log-on-function-javascript-orientdb

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!