Add log-scope, log-entry and log-exit

Closes #3