We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abd2b35 commit 612e124Copy full SHA for 612e124
lib/logger/test/logger_test.exs
@@ -175,6 +175,13 @@ defmodule LoggerTest do
175
end
176
177
178
+ test "log/2 relies on sync_threshold" do
179
+ Logger.configure(sync_threshold: 0)
180
+ for _ <- 1..1000, do: Logger.log(:info, "some message")
181
+ after
182
+ Logger.configure(sync_threshold: 20)
183
+ end
184
+
185
test "stop the application silently" do
186
Application.put_env(:logger, :backends, [])
187
Logger.App.stop()
0 commit comments