diff options
author | Siri Hansen <siri@erlang.org> | 2018-05-02 19:20:27 +0200 |
---|---|---|
committer | Siri Hansen <siri@erlang.org> | 2018-05-07 12:02:25 +0200 |
commit | 3cef0524e4332ebf547180ec0d0feafe0a559b5c (patch) | |
tree | 26d95510da97051b94e31435249a5d409673af53 /lib/kernel/test/logger_SUITE.erl | |
parent | 336e7eed4e44fe9267234e4702db6fd613064dcd (diff) | |
download | erlang-3cef0524e4332ebf547180ec0d0feafe0a559b5c.tar.gz |
Add logger:update_process_metadata/1
Diffstat (limited to 'lib/kernel/test/logger_SUITE.erl')
-rw-r--r-- | lib/kernel/test/logger_SUITE.erl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/kernel/test/logger_SUITE.erl b/lib/kernel/test/logger_SUITE.erl index 0edce3e34c..94fd87bdb0 100644 --- a/lib/kernel/test/logger_SUITE.erl +++ b/lib/kernel/test/logger_SUITE.erl @@ -666,6 +666,9 @@ process_metadata(_Config) -> check_logged(info,S3,#{time=>Time,line=>0,custom=>func}), ProcMeta = logger:get_process_metadata(), + ok = logger:update_process_metadata(#{custom=>changed,custom2=>added}), + Expected = ProcMeta#{custom:=changed,custom2=>added}, + Expected = logger:get_process_metadata(), ok = logger:unset_process_metadata(), undefined = logger:get_process_metadata(), |