output method name in log