ExActivity v0.1.22 ExActivity

Enables to log activity in a structured way to a MySQL database. The logs are saved in a non blocking way, to minimize overhead in your application when logging.

The actual insertion in the dabase is done by using Elixir’s Task functionality.

The log functions accepts a ExActivity.Log struct which is then saved to the database.

Log like so:

ExActivity.log(%ExActivity.Log{type: "error", action: "saveUser", result: "invalid_email"})

Link to this section Summary

Link to this section Functions