Hi,
I want to create some helper which would automatically wrap functions with some logic.
defmodule Bar do
# ...
end
defmodule Test do
use Bar
def call() do
1
end
end
Test.call()
# log: wrapping start
# log: 1
# log: wrapping end
# => 1
I’m using AppSignal and the way they suggest modifying each function in live view applications looks uneasy to me.
I’m wondering if it’s possible to avoid modifying all live view functions in an application in order to wrap each function with some monitoring logic.






















