Ecto.DevLogger - an alternative logger of SQL queries in development

Ecto.DevLogger is an alternative logger of SQL queries in development

It inlines bindings into the query, so it is easy to copy-paste logged SQL and run it in any IDE for debugging without manual transformation of common elixir terms to string representation (binary UUID, DateTime, Decimal, json, etc). Also, it highlights db time to make slow queries noticeable. Source table and inlined bindings are highlighted as well.

Links

44 Likes

You’ve pumped my developer happiness to 1_000 today! :yellow_heart:

Thank you very very much.

2 Likes

Tears of happiness :+1:

1 Like

Oooh, I’ve wanted nice UUID logging for quite a while! Great job!

1 Like

Released v0.2.0 which now supports :stacktrace option, which was introduced in Ecto 3.8.0 :tada:.
Screenshot in the first post was updated.