summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith <86847575+zolakeith@users.noreply.github.com>2022-01-04 16:01:10 +0000
committerGitHub <noreply@github.com>2022-01-04 18:01:10 +0200
commit7356a47047d0b54517bd6886603f09b1121dde2b (patch)
treec611fe06508929b94d52e2792da461685c7957fd
parent29089ab98614dd4392a20dd3057c2161e4b29d2e (diff)
downloadelixir-7356a47047d0b54517bd6886603f09b1121dde2b.tar.gz
Update docs for ExUnit.CaptureLog (#11538)
-rw-r--r--lib/ex_unit/lib/ex_unit/capture_log.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ex_unit/lib/ex_unit/capture_log.ex b/lib/ex_unit/lib/ex_unit/capture_log.ex
index ce6be2832..ac74e4a8f 100644
--- a/lib/ex_unit/lib/ex_unit/capture_log.ex
+++ b/lib/ex_unit/lib/ex_unit/capture_log.ex
@@ -57,7 +57,7 @@ defmodule ExUnit.CaptureLog do
It is possible to configure the level to capture with `:level`,
which will set the capturing level for the duration of the
- capture, for instance, if the log level is set to :error
+ capture, for instance, if the log level is set to `:error`, then
any message with the lower level will be ignored.
The default level is `nil`, which will capture all messages.
The behaviour is undetermined if async tests change Logger level.