Releases: salsify/ember-debug-logger
Releases · salsify/ember-debug-logger
v2.1.1
v2.1.0
v2.0.0
This release removes the automatic injection of the debug
method on many container-owned objects. To migrate forward, you can either set debug: debugLogger()
on those objects explicitly or reinstate the implicit injection in your own instance initializer:
export function initialize(instance) {
instance.register('debug-logger:main', debugLogger(), { instantiate: false });
// Do this for each type you want the injection on
instance.inject('route', 'debug', 'debug-logger:main');
}
export default {
name: 'debug-logger',
initialize,
};