diff options
author | Siri Hansen <[email protected]> | 2018-06-05 20:50:01 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2018-06-08 14:47:07 +0200 |
commit | 2ab3e91a44032cab2b173efc33b5d9589eec4864 (patch) | |
tree | a03c932a74f029a7d6a8e9dd5d348127e2975aed /lib/kernel/test/logger_test_lib.erl | |
parent | 35c311607ed5b5a9ddea8c9a9be7c3b41845c737 (diff) | |
download | otp-2ab3e91a44032cab2b173efc33b5d9589eec4864.tar.gz otp-2ab3e91a44032cab2b173efc33b5d9589eec4864.tar.bz2 otp-2ab3e91a44032cab2b173efc33b5d9589eec4864.zip |
[logger] Add more functions for reading configuration
Added:
* logger:get_config() - replaces i(), returns all Logger
configuration, i.e. primary and handler config, and module levels
* logger:get_handler_ids() -> [HandlerId]
* logger:get_handler_config() -> [{HandlerId,Module,Config}]
Removed:
* logger:i/1, will probably be replaced in a later release.
Diffstat (limited to 'lib/kernel/test/logger_test_lib.erl')
-rw-r--r-- | lib/kernel/test/logger_test_lib.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/test/logger_test_lib.erl b/lib/kernel/test/logger_test_lib.erl index 5ad6336925..9097453c10 100644 --- a/lib/kernel/test/logger_test_lib.erl +++ b/lib/kernel/test/logger_test_lib.erl @@ -37,7 +37,7 @@ setup(Config,Vars) -> " -boot start_sasl -kernel start_timer true " "-config ",ConfigFileName]}]) of {ok, Node} -> - L = rpc:call(Node, logger, i, []), + L = rpc:call(Node, logger, get_config, []), ct:log("~p",[L]), {ok, L, Node}; {error, Reason} -> |