Logs all tool calls before and after execution with parameters, results, errors, and session info for auditing and debugging.