dwyl/learn-elixir

Logging and Stack Tracing In Elixir/Erlang

Open

#149 建立於 2019年12月28日

在 GitHub 查看
 (0 留言) (1 反應) (0 負責人)Elixir (1,695 star) (113 fork)batch import
discussenhancementhelp wantedstarter

描述

At present we do not have a section in this guide on Logging or Error tracing. This is an omission as it is an important step in building apps that are maintainable.

This looks like a good starting point: https://timber.io/blog/the-ultimate-guide-to-logging-in-elixir/ PDF Snapshot: The-Ultimate-Guide-To-Logging-In-Elixir.pdf

Todo

  • do a bunch of research into stack tracing and logging in Elixir
  • Figure out how to do logging on Heroku (and any other relevant IaaS/PaaS provider)
  • Write it up!

Relevant reading:

Hopefully we can avoid this: https://github.com/dwyl/library/blob/221152bfd4185e5c83747f591b1c66d6a75ce183/lib/library_web/controllers/login_controller.ex#L19

貢獻者指南