This decorator function isn't necessary at all, bind_log can just be a decorator.

```python
def bind_log():
    @wraps(f)
    def _(…):
        …
    return _
```