import {bindable, bindingMode} from 'aurelia-framework';

export class FormFieldsCustomElement {
  @bindable schema

  @bindable({defaultBindingMode: bindingMode.twoWay})
  model

  @bindable messages

  attached() {
    if (typeof this.model !== 'object') {
      // eslint-disable-next-line
      console.warn(`model is not an object`);
    }
  }
}

@@ -49,16 +49,59 @@
 mework';
+%0Aimport %7BgetLogger%7D from 'aurelia-logging';
 %0A%0Aexport
@@ -305,49 +305,33 @@
     
-// eslint-disable-next-line%0A      console
+getLogger('aurelia-form')
 .war

use aurelia-logging's getLogger instead of console