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 4328b09 commit b75ccccCopy full SHA for b75cccc
lib/logger/lib/logger.ex
@@ -702,8 +702,11 @@ defmodule Logger do
702
@doc """
703
Flushes the logger.
704
705
- This guarantees all log handlers are flushed. This is useful
706
- for testing and it should not be called in production code.
+ This guarantees all logger handlers flush to disk or storage.
+ This is useful for testing but it should be avoided in production,
707
+ as it could force logger handlers to drop whatever they are doing
708
+ and flush, even if continuing to buffer would be the most peformant
709
+ option.
710
"""
711
@spec flush :: :ok
712
def flush do
0 commit comments