diff options
author | Siri Hansen <[email protected]> | 2018-05-04 16:40:55 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2018-05-07 12:02:25 +0200 |
commit | 3c9e4adff06a3f74513cb6658405e43e674133c1 (patch) | |
tree | f6760f268af10c0e87437d42b368f0df23b00994 /lib/kernel/src/error_logger.erl | |
parent | d8e804043c6b4974943884cb15b86b40a5c870f1 (diff) | |
download | otp-3c9e4adff06a3f74513cb6658405e43e674133c1.tar.gz otp-3c9e4adff06a3f74513cb6658405e43e674133c1.tar.bz2 otp-3c9e4adff06a3f74513cb6658405e43e674133c1.zip |
Change logger callback removing_handler/1 to removing_handler/2
Diffstat (limited to 'lib/kernel/src/error_logger.erl')
-rw-r--r-- | lib/kernel/src/error_logger.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kernel/src/error_logger.erl b/lib/kernel/src/error_logger.erl index 0706220a94..47d0ca5ea3 100644 --- a/lib/kernel/src/error_logger.erl +++ b/lib/kernel/src/error_logger.erl @@ -32,7 +32,7 @@ which_report_handlers/0]). %% logger callbacks --export([adding_handler/2, removing_handler/1, log/2]). +-export([adding_handler/2, removing_handler/2, log/2]). -export([get_format_depth/0, limit_term/1]). @@ -111,8 +111,8 @@ adding_handler(?MODULE,Config) -> Error end. --spec removing_handler(logger:handler_id()) -> ok. -removing_handler(?MODULE) -> +-spec removing_handler(logger:handler_id(),logger:config()) -> ok. +removing_handler(?MODULE,_Config) -> stop(), ok. |