me.methodName ??

[code] IF dbDatabase.Error THEN
'MsgBox dbDatabase.ErrorMessage
System.DebugLog "Area51.checkUserSettings Database error: " + dbDatabase.ErrorMessage
END IF

IF dbDatabase.Error THEN
'MsgBox dbDatabase.ErrorMessage
System.DebugLog me.methodName + " Database error: " + dbDatabase.ErrorMessage
END IF
[/code]

Is there such feature in Xojo!? To get the name of the Method itself!?

CurrentMethodName

http://documentation.xojo.com/index.php/CurrentMethodName

Ah! Great! I didn’t know what to look for!

Lovely!!