Skip to content

Commit

Permalink
Merge pull request #1228 from powerful23/amplify-v1
Browse files Browse the repository at this point in the history
Fix logger
  • Loading branch information
powerful23 authored Jul 13, 2018
2 parents 58d1137 + 211647b commit 75b0fdb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/core/src/Amplify.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ConsoleLogger as Logger } from './Logger';
import { ConsoleLogger as LoggerClass } from './Logger';

const logger = new Logger('Amplify');
const logger = new LoggerClass('Amplify');

export default class Amplify {
private static _components = [];
Expand All @@ -18,7 +18,7 @@ export default class Amplify {
static Interactions = null;
static Pushnotification = null;

static Logger = null;
static Logger = LoggerClass;
static ServiceWorker = null;

static register(comp) {
Expand Down

0 comments on commit 75b0fdb

Please sign in to comment.