How to print to the console in GWT

前端 未结 10 1112
广开言路
广开言路 2020-12-23 14:29

I am debugging a GWT application and I need to print some stuff to the console for testing purposes. System.out.println and GWT.log don\'t work. Do

10条回答
  •  萌比男神i
    2020-12-23 15:02

    In GWT version 2.6.0, method GWT.log writes message to browser console, you don't need to write native methods.

提交回复
热议问题