Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Telemetry local function warning
When a local function (meaning, either an anonymous function, or a capture of a function without the module being specified) is passed as an event handler to `:telemetry.attach/4` on Telemetry version 1.0.0, it produces a warning about the performance penalty of doing so, due to how these functions are handled by the Erlang VM. This commit changes the event handler function passed to `:telemetry.attach/4` so that the module is specified in the function capture.
- Loading branch information