Reputation: 91
I've been doing a simple test in DalekJS and when I try to log.message a string it doesn't show anything in the console. The test succeeds, but there is no message.
Do I have to do anything to enable logging? Or was it supposed to be on by default?
Thank you!
Upvotes: 0
Views: 189
Reputation: 686
To add an, more or less, official answer. Your custom logs are only outputted to the terminal if you set your log level >= 4, like so:
dalek [your_test].js -l 4
Upvotes: 1