diff options
author | Siri Hansen <[email protected]> | 2018-06-08 17:53:47 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2018-06-11 15:01:42 +0200 |
commit | 4d3fe8ee8d5b079df6172232d4f6864286048028 (patch) | |
tree | c614ac05f176c42991ad367f933b2a19aa9b8224 /lib/kernel/src/logger_std_h.erl | |
parent | cca41722c8dc7b83500f14588643ccd82bf3020f (diff) | |
download | otp-4d3fe8ee8d5b079df6172232d4f6864286048028.tar.gz otp-4d3fe8ee8d5b079df6172232d4f6864286048028.tar.bz2 otp-4d3fe8ee8d5b079df6172232d4f6864286048028.zip |
[logger] Split config() in two: primary_config() and handler_config()
Diffstat (limited to 'lib/kernel/src/logger_std_h.erl')
-rw-r--r-- | lib/kernel/src/logger_std_h.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kernel/src/logger_std_h.erl b/lib/kernel/src/logger_std_h.erl index e087178211..827503ddcf 100644 --- a/lib/kernel/src/logger_std_h.erl +++ b/lib/kernel/src/logger_std_h.erl @@ -51,7 +51,7 @@ %%% handler process gets added -spec start_link(Name, Config, HandlerState) -> {ok,Pid} | {error,Reason} when Name :: atom(), - Config :: logger:config(), + Config :: logger:handler_config(), HandlerState :: map(), Pid :: pid(), Reason :: term(). @@ -230,7 +230,7 @@ swap_buffer(Name, Buffer) -> %%% Log a string or report -spec log(LogEvent, Config) -> ok | dropped when LogEvent :: logger:log_event(), - Config :: logger:config(). + Config :: logger:handler_config(). log(LogEvent, Config = #{id := Name, config := #{handler_pid := HPid, |