Update Logr.js

Renamed the variable `f` to `method`.
Merge pull request #1 from kimegede/patch-1

Update Logr.js