Benjamin Francisoud
Benjamin Francisoud
:+1: Otherwise you don't know where the log is coming from... Strangely, if I use console.~~debug()~~error()... I get the full call stack (and where the log is coming from) ...
Yes your are right my bad :p But still no call stack if using this.logger.error('...') 
@langley-agm https://github.com/code-chunks/angular2-logger/issues/60#issuecomment-248677442 finally found time to test it against a clean new angular 2.0.0 project, works like expected :) I have the source (file and line number of origin stacktrace...
@sleroy about isDevMode() strange because this method still seems to exist https://angular.io/docs/ts/latest/api/core/index/isDevMode-function.html and I've been using it for 6 months...