Help finding how logger, Test.adapter.exception and onerror have changed

I’m upgrading an app from 2.18 to 3.4 and I could use some help finding how the following methods have changed:


I’m using them to test for asynchronous errors as described in this article.

So far I’ve found this code which suggests Ember is moving completely to console.[log/warn/info/error] functionality, but I haven’t been able to pinpoint any commit/release in the CHANGELOG over when this happened and if it can be safely assumed that all prior uses of Logger/adapter.exception/onerror have been replaced.

Could someone point me in the right direction? Thanks!

Other than “just use console.debug()”, I’m not sure if there was anything else to it.

Initial mention of the deprecation from Tom:

RFC: rfcs/ at b64b6df30483cb7a0ce39dc651d28b30a8b13bc3 · emberjs/rfcs · GitHub

Issue to track the removal:

Deprecation guide: Ember.js - Deprecations

Can you provide an example test? I’m sure we can make it work well, but for me its always better to focus on a specific reproduction rather than talk about generalities…

@rwjblue I was using this code to test async errors in my tests. I’m not sure which (if any) of lines 9-11 I need anymore.