File tree 1 file changed +3
-0
lines changed 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -778,6 +778,7 @@ defmodule Logger do
778
778
This will take priority over the primary level set, so it can be
779
779
used to increase or decrease verbosity of some parts of the running system.
780
780
"""
781
+ @ doc since: "1.15.0"
781
782
@ spec put_process_level ( pid ( ) , level ( ) | :all | :none ) :: :ok
782
783
def put_process_level ( pid , level ) when pid == self ( ) do
783
784
Process . put ( @ metadata , elixir_level_to_erlang_level ( level ) )
@@ -792,6 +793,7 @@ defmodule Logger do
792
793
The returned value will be the effective value used. If no value
793
794
was set for a given process, then `nil` is returned.
794
795
"""
796
+ @ doc since: "1.15.0"
795
797
@ spec get_process_level ( pid ) :: level ( ) | :all | :none | nil
796
798
def get_process_level ( pid ) when pid == self ( ) do
797
799
Process . get ( @ metadata , nil )
@@ -802,6 +804,7 @@ defmodule Logger do
802
804
803
805
Currently the only accepted PID is `self()`.
804
806
"""
807
+ @ doc since: "1.15.0"
805
808
@ spec delete_process_level ( pid ( ) ) :: :ok
806
809
def delete_process_level ( pid ) when pid == self ( ) do
807
810
Process . delete ( @ metadata )
You can’t perform that action at this time.
0 commit comments