support frame number in log calls