1

I´m developing an ionic2 application, and I want to print my current method name on console.

Example:

 constructor(private myclass: Myclass) {
   console.log(<methodname>);
   // in this case should be constructor
 }

How can I do this?

fredmaggiowski
  • 2,232
  • 3
  • 25
  • 44
Andre Trigo
  • 57
  • 1
  • 6

0 Answers0