aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/logger_disk_log_h.erl
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2019-01-11 11:47:33 +0100
committerSiri Hansen <[email protected]>2019-01-16 09:59:24 +0100
commit5f6ac7da06d6d23466258c4eae34df30fae76298 (patch)
tree8157f39f414a167d32317538da613ae0f330b8fb /lib/kernel/src/logger_disk_log_h.erl
parentc940695f85063095e26aa0475b5687e6378ecb52 (diff)
downloadotp-5f6ac7da06d6d23466258c4eae34df30fae76298.tar.gz
otp-5f6ac7da06d6d23466258c4eae34df30fae76298.tar.bz2
otp-5f6ac7da06d6d23466258c4eae34df30fae76298.zip
[logger] Remove info and reset functions from handler modules
These are not documented, and only used in test. The test now uses logger_olp directly instead.
Diffstat (limited to 'lib/kernel/src/logger_disk_log_h.erl')
-rw-r--r--lib/kernel/src/logger_disk_log_h.erl21
1 files changed, 1 insertions, 20 deletions
diff --git a/lib/kernel/src/logger_disk_log_h.erl b/lib/kernel/src/logger_disk_log_h.erl
index 41e0d51a9d..47b39da900 100644
--- a/lib/kernel/src/logger_disk_log_h.erl
+++ b/lib/kernel/src/logger_disk_log_h.erl
@@ -24,7 +24,7 @@
-include("logger_h_common.hrl").
%%% API
--export([info/1, filesync/1, reset/1]).
+-export([filesync/1]).
%% logger_h_common callbacks
-export([init/2, check_config/4, reset_state/2,
@@ -47,25 +47,6 @@
filesync(Name) ->
logger_h_common:filesync(?MODULE,Name).
-%%%-----------------------------------------------------------------
-%%%
--spec info(Name) -> Info | {error,Reason} when
- Name :: atom(),
- Info :: term(),
- Reason :: handler_busy | {badarg,term()}.
-
-info(Name) ->
- logger_h_common:info(?MODULE,Name).
-
-%%%-----------------------------------------------------------------
-%%%
--spec reset(Name) -> ok | {error,Reason} when
- Name :: atom(),
- Reason :: handler_busy | {badarg,term()}.
-
-reset(Name) ->
- logger_h_common:reset(?MODULE,Name).
-
%%%===================================================================
%%% logger callbacks
%%%===================================================================