aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2018-10-10 13:12:14 +0200
committerSiri Hansen <[email protected]>2019-02-21 10:36:42 +0100
commit6d8ba61ac43b508834684958ab941df0f712fe6a (patch)
treea00de0d0cdf7b21888cf6a0f48d78b2ce426e07a /lib
parent219a965b235db4c1775ad9056693860d0e9b4bc5 (diff)
downloadotp-6d8ba61ac43b508834684958ab941df0f712fe6a.tar.gz
otp-6d8ba61ac43b508834684958ab941df0f712fe6a.tar.bz2
otp-6d8ba61ac43b508834684958ab941df0f712fe6a.zip
[logger] Fix faulty report_cb in logger_disk_log_h_SUITE:logging/1
Diffstat (limited to 'lib')
-rw-r--r--lib/kernel/test/logger_disk_log_h_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/test/logger_disk_log_h_SUITE.erl b/lib/kernel/test/logger_disk_log_h_SUITE.erl
index a815db14e9..767d80b8e4 100644
--- a/lib/kernel/test/logger_disk_log_h_SUITE.erl
+++ b/lib/kernel/test/logger_disk_log_h_SUITE.erl
@@ -292,7 +292,7 @@ logging(Config) ->
ok = start_and_add(Name, #{filter_default=>log,
formatter=>{?MODULE,self()}},
#{file => LogFile}),
- MsgFormatter = fun(Term) -> {io_lib:format("Term:~p",[Term]),[]} end,
+ MsgFormatter = fun(Term) -> {"Term:~p",[Term]} end,
logger:notice([{x,y}], #{report_cb => MsgFormatter}),
logger:notice([{x,y}], #{}),
ct:pal("Checking contents of ~p", [?log_no(LogFile,1)]),