__LINE__ returns the line number in the file at which you put this very expression.
__LINE__
// Line 1 // Line 2 __LINE__->Console.log