如何打印或登录函数javascript Orientdb

如何打印或登录函数javascript Orientdb,orientdb,Orientdb,我试图使用print(“helloworld”)函数Orientdb进行调试。 单击excute()后,不会出现任何结果 要查看打印,您必须打开“Server.bat”或“Server.sh”窗口,然后才能看到结果 Server.bat Server.sh 最好的方法是使用OrientDB标准记录器: com.orientechnologies.common.log.OLogManager.instance().info(this, "This is a log!") 谢谢你的快速回复。我

我试图使用print(“helloworld”)函数Orientdb进行调试。 单击excute()后,不会出现任何结果


要查看打印,您必须打开“Server.bat”或“Server.sh”窗口,然后才能看到结果

Server.bat

Server.sh


最好的方法是使用OrientDB标准记录器:

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

谢谢你的快速回复。我通过SSH连接我的orientdb。我通过remote:localhost/Demo连接数据库,但仍然显示nothing。当然,记录器支持所有日志级别(debug()、info()、warn()、error())