When using an Angular2 Component, if you execute the following code:
console.log (this);
You will see the entire object with all its members, for example:
"ComponentName {member1, member2, member_n}"
Now, I am interested in only logging the ComponentName itself. How can I accomplish this?