You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to elixir-lang/elixir#12879, I've switched to the legacy logger backend from this repo. It works fine – logs output to console as it used to.
Expected behaviour
capture_log should capture log output, so assertions can be run and no output should be visible in the terminal.
Actual behaviour
Tests that use capture_log output logs to the console. The log gets captured and tests pass as they used to. ex_unitdocs state that :console log backend is captured, so this kind of makes sense.
This makes capturing work properly – no output to the console, but also no output from log entries that aren't captured, so some issues might be potentially missed.
The text was updated successfully, but these errors were encountered:
Due to elixir-lang/elixir#12879, I've switched to the legacy logger backend from this repo. It works fine – logs output to console as it used to.
Expected behaviour
capture_log
should capture log output, so assertions can be run and no output should be visible in the terminal.Actual behaviour
Tests that use
capture_log
output logs to the console. The log gets captured and tests pass as they used to.ex_unit
docs state that:console
log backend is captured, so this kind of makes sense.Partial solution
This makes capturing work properly – no output to the console, but also no output from log entries that aren't captured, so some issues might be potentially missed.
The text was updated successfully, but these errors were encountered: