aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/logger_h_common.erl
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2018-06-08 17:53:47 +0200
committerSiri Hansen <[email protected]>2018-06-11 15:01:42 +0200
commit4d3fe8ee8d5b079df6172232d4f6864286048028 (patch)
treec614ac05f176c42991ad367f933b2a19aa9b8224 /lib/kernel/src/logger_h_common.erl
parentcca41722c8dc7b83500f14588643ccd82bf3020f (diff)
downloadotp-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_h_common.erl')
-rw-r--r--lib/kernel/src/logger_h_common.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/src/logger_h_common.erl b/lib/kernel/src/logger_h_common.erl
index b145043522..d556938f02 100644
--- a/lib/kernel/src/logger_h_common.erl
+++ b/lib/kernel/src/logger_h_common.erl
@@ -43,7 +43,7 @@
%%% Covert log data on any form to binary
-spec log_to_binary(LogEvent,Config) -> LogString when
LogEvent :: logger:log_event(),
- Config :: logger:config(),
+ Config :: logger:handler_config(),
LogString :: binary().
log_to_binary(#{msg:={report,_},meta:=#{report_cb:=_}}=Log,Config) ->
do_log_to_binary(Log,Config);