fixed detection of class and line number when log is called from non-static inner class