Skip to main content
edited tags
Link
Source Link
sinbad
  • 99
  • 1
  • 3

print in contract not showing output in eosjs docker

i want to print some logs in eosjs docker version. But somehow it is not showing anything. I have set: # print contract's output to console (eosio::chain_plugin) contracts-console = true in the config.ini which is in eosjs docker folder. I restarted eos but it is not showing any log.

I included #include <eosiolib/print.hpp> and do the printing like that: print("\n>>> user >>>", user, " - name: ", name{ user });