aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/logger.erl
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2018-06-05 19:22:16 +0200
committerSiri Hansen <[email protected]>2018-06-08 14:42:52 +0200
commit6f753ccf5178a809a7a26f692249bdfb5985335e (patch)
tree34e53144479968d3e2ba864c9d8ffe37e2965454 /lib/kernel/src/logger.erl
parent437d46f34b141af8e6361bfc5b2fe8dab9d88efd (diff)
downloadotp-6f753ccf5178a809a7a26f692249bdfb5985335e.tar.gz
otp-6f753ccf5178a809a7a26f692249bdfb5985335e.tar.bz2
otp-6f753ccf5178a809a7a26f692249bdfb5985335e.zip
[logger] Don't use error_logger:warning_map/0
The warning map was added to allow backwards compatiblity with error_logger event handlers that were not prepared to receive warning reports. error_logger still uses this internally, if legacy error logger event handlers are installed. But Logger does not use it for new Logger handlers.
Diffstat (limited to 'lib/kernel/src/logger.erl')
-rw-r--r--lib/kernel/src/logger.erl2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/kernel/src/logger.erl b/lib/kernel/src/logger.erl
index f18f101930..f8661ea228 100644
--- a/lib/kernel/src/logger.erl
+++ b/lib/kernel/src/logger.erl
@@ -775,8 +775,6 @@ get_logger_env() ->
%%%-----------------------------------------------------------------
%%% Internal
-do_log(warning,Msg,Meta) ->
- do_log_1(error_logger:warning_map(),Msg,Meta);
do_log(Level,Msg,Meta) ->
do_log_1(Level,Msg,Meta).