feat(exception_handler): changed ExceptionHandler to use console.error instead of console.log

Closes #3812
This commit is contained in:
vsavkin
2015-08-24 11:35:27 -07:00
committed by Victor Savkin
parent a34d4c6a5f
commit 3bb27deecc
7 changed files with 22 additions and 10 deletions
@@ -69,6 +69,7 @@ class HelloRootDirectiveIsNotCmp {
class _ArrayLogger {
res: any[] = [];
log(s: any): void { this.res.push(s); }
logError(s: any): void { this.res.push(s); }
logGroup(s: any): void { this.res.push(s); }
logGroupEnd(){};
}
@@ -33,6 +33,7 @@ import {MockLocationStrategy} from 'angular2/src/mock/mock_location_strategy';
class _ArrayLogger {
res: any[] = [];
log(s: any): void { this.res.push(s); }
logError(s: any): void { this.res.push(s); }
logGroup(s: any): void { this.res.push(s); }
logGroupEnd(){};
}