Added log calls that accept the call depth