Closed sh41 closed 2 years ago
telemetry.attach/4
Ecto.DevLogger.install/2
Ecto.DevLogger.uninstall/1
telemetry.detach/1
Ecto.DevLogger.handler_id/1
Fixes #10
Hey @sh41
Thank you for the PR! Very good job, I like it!
telemetry.attach/4
receives a unique handler_id based on the telemetry prefix of the repo.Ecto.DevLogger.install/2
now returns the result fromtelemetry.attach/4
allowing users to confirm successful setup.Ecto.DevLogger.uninstall/1
to support callingtelemetry.detach/1
with the correct handler_id.Ecto.DevLogger.handler_id/1
to support introspection of telemetry handler ids.Fixes #10