3 ms·
There is a lot of care in Elixir Logger (https://hexdocs.pm/logger/Logger.html https://hexdocs.pm/logger/Logger.html) with regard to this. For instance, "argum
by thibaut_barrere 8y ago
There is a lot of care in Elixir Logger (https://hexdocs.pm/logger/Logger.html https://hexdocs.pm/logger/Logger.html) with regard to this.
For instance, "arguments given to info/2 will only be evaluated if a message is logged".
You can also trim out (at compile time, like you did with the build step) all the logging commands below the selected level, with the ":compile_time_purge_matching" option.
- davedx 8y agoThat’s really awesome. All modern platforms should do this