diff options
author | Lukas Larsson <[email protected]> | 2018-06-18 17:12:49 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2018-07-16 16:36:00 +0200 |
commit | f49f2d060e43953c4f09e604ee2b98db33867089 (patch) | |
tree | 92f8bee7eddcf94896a8a99512c9c9e756256222 /lib/kernel/src/logger_server.erl | |
parent | 212e8b4caa9968d50f0701ce70aa0ebe5b25f1a6 (diff) | |
download | otp-f49f2d060e43953c4f09e604ee2b98db33867089.tar.gz otp-f49f2d060e43953c4f09e604ee2b98db33867089.tar.bz2 otp-f49f2d060e43953c4f09e604ee2b98db33867089.zip |
kernel: Add logger:set_application_level/2
OTP-15146
Diffstat (limited to 'lib/kernel/src/logger_server.erl')
-rw-r--r-- | lib/kernel/src/logger_server.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kernel/src/logger_server.erl b/lib/kernel/src/logger_server.erl index 28e31d46ea..644fdd5af2 100644 --- a/lib/kernel/src/logger_server.erl +++ b/lib/kernel/src/logger_server.erl @@ -83,7 +83,7 @@ set_module_level(Modules,Level) when is_list(Modules) -> Error -> Error end; false -> - {error,{not_a_list_of_modles,Modules}} + {error,{not_a_list_of_modules,Modules}} end; set_module_level(Modules,_) -> {error,{not_a_list_of_modules,Modules}}. @@ -96,7 +96,7 @@ unset_module_level(Modules) when is_list(Modules) -> true -> call({unset_module_level,Modules}); false -> - {error,{not_a_list_of_modles,Modules}} + {error,{not_a_list_of_modules,Modules}} end; unset_module_level(Modules) -> {error,{not_a_list_of_modules,Modules}}. |