import Ember from 'ember';
import { namespace } from './consts';

export function debug() {
  Ember.Logger.debug(namespace, ...arguments);
}
import { namespace } from './consts';

export function debug() {
  if (console.debug) {
    console.debug(namespace, ...arguments);
  } else {
    console.log(namespace, ...arguments);
  }
}

Move from Ember.Logger to console
Move from Ember.Logger to console

Ember.Logger is deprecated as of Ember 3.2.