Permalink
Browse files

fix(config): uses correct export from aurelia-logging

  • Loading branch information...
bas080
bas080 committed Jun 13, 2016
1 parent a99d49d commit a5c2729b3ac8c5c80f39847a420a2210204db08d
Showing with 2 additions and 3 deletions.
  1. +2 −3 src/aurelia-view.js
@@ -1,15 +1,14 @@
import {Config} from './config';
import {ViewManager} from './view-manager';
import {resolvedView} from './decorators/resolved-view';
import {LogManager} from 'aurelia-logging';
import {getLogger} from 'aurelia-logging';
function configure(aurelia, configCallback) {
if (typeof configCallback === 'function') {
let config = aurelia.container.get(Config);
configCallback(config);
} else if (configCallback) {
LogManager.getLogger('aurelia-form').warn('config takes a function');
getLogger('aurelia-view').warn('config takes a function');
}
}

0 comments on commit a5c2729

Please sign in to comment.