darekf77 / ng2-logger

Isomorphic logger for Browser and NodeJS, ( typescript / javascript ) apps
MIT License
61 stars 17 forks source link

Feature: Stack traces #34

Closed danielsogl closed 6 years ago

danielsogl commented 6 years ago

Following the Console Web Api the stack trace function is missing

function foo() {
  function bar() {
    console.trace();
  }
  bar();
}

foo();
darekf77 commented 6 years ago

With ng2-logger you don't need that... just keep good names when you are creating ng2-logger reference eg const log = Log.create('Very precise name or module, component or file').