aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/logger_formatter.erl
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2018-05-23 12:34:30 +0200
committerSiri Hansen <[email protected]>2018-05-23 12:48:25 +0200
commit72f1ce276401e0b8de9c0c527cbc324da0186939 (patch)
treeee9213c25a48b2766b5659838ad2a1d1ab0f2cbf /lib/kernel/src/logger_formatter.erl
parent80606372f163ac26980010ee64464b2ace412100 (diff)
downloadotp-72f1ce276401e0b8de9c0c527cbc324da0186939.tar.gz
otp-72f1ce276401e0b8de9c0c527cbc324da0186939.tar.bz2
otp-72f1ce276401e0b8de9c0c527cbc324da0186939.zip
Change type name logger:log() to logger:log_event()
Diffstat (limited to 'lib/kernel/src/logger_formatter.erl')
-rw-r--r--lib/kernel/src/logger_formatter.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kernel/src/logger_formatter.erl b/lib/kernel/src/logger_formatter.erl
index 5882c70ddf..95cb6e35fc 100644
--- a/lib/kernel/src/logger_formatter.erl
+++ b/lib/kernel/src/logger_formatter.erl
@@ -30,8 +30,8 @@
%%%-----------------------------------------------------------------
%%% API
--spec format(Log,Config) -> unicode:chardata() when
- Log :: logger:log(),
+-spec format(LogEvent,Config) -> unicode:chardata() when
+ LogEvent :: logger:log_event(),
Config :: #{single_line=>boolean(),
legacy_header=>boolean(),
report_cb=>fun((logger:report()) -> {io:format(),[term()]}),