3 ms·
I've been coding elixir for 7 years and still don't quite understand why I have to keep typing "require Logger" to just use the logger, and why it isn't just re
by atonse 3y ago
I've been coding elixir for 7 years and still don't quite understand why I have to keep typing "require Logger" to just use the logger, and why it isn't just required in the framework across the board.
Something to do with require being a macro and being lexically scoped (but you could probably just require it in the usings for Phoenix right?)