diff options
author | Siri Hansen <[email protected]> | 2018-06-07 11:47:05 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2018-06-08 14:48:14 +0200 |
commit | f20c281be6fa27e2da1c543a64029531c5f00325 (patch) | |
tree | 531da0cc6860757a7fce868a2b4b484b5c685055 /lib/kernel/test/logger_bench_SUITE.erl | |
parent | 7f6e61ca0d752c780ffadd7aacf29aaab0783c78 (diff) | |
download | otp-f20c281be6fa27e2da1c543a64029531c5f00325.tar.gz otp-f20c281be6fa27e2da1c543a64029531c5f00325.tar.bz2 otp-f20c281be6fa27e2da1c543a64029531c5f00325.zip |
[logger] Update return values from get_handler_config/0,1 and get_config/0
Module and Id are now always included as fields in Config, so these
are no longer returned as separate elements.
Diffstat (limited to 'lib/kernel/test/logger_bench_SUITE.erl')
-rw-r--r-- | lib/kernel/test/logger_bench_SUITE.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/test/logger_bench_SUITE.erl b/lib/kernel/test/logger_bench_SUITE.erl index b60fc42741..c6aa541a94 100644 --- a/lib/kernel/test/logger_bench_SUITE.erl +++ b/lib/kernel/test/logger_bench_SUITE.erl @@ -366,7 +366,7 @@ calc_and_report(Config,Tag,MSecs,Times) -> remove_all_handlers() -> Hs = logger:get_handler_config(), - [logger:remove_handler(Id) || {Id,_,_} <- Hs], + [logger:remove_handler(Id) || #{id:=Id} <- Hs], Hs. add_all_handlers(Hs) -> |