From a9a6b803a60793d42a74e0f1693a7594dffb6bc3 Mon Sep 17 00:00:00 2001
From: Siri Hansen
Date: Thu, 17 May 2018 18:19:57 +0200
Subject: Improve documentation of logger and error_logger
---
lib/stdlib/doc/src/gen_statem.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'lib/stdlib/doc/src/gen_statem.xml')
diff --git a/lib/stdlib/doc/src/gen_statem.xml b/lib/stdlib/doc/src/gen_statem.xml
index e918e83df7..a808d3af55 100644
--- a/lib/stdlib/doc/src/gen_statem.xml
+++ b/lib/stdlib/doc/src/gen_statem.xml
@@ -1778,7 +1778,7 @@ handle_event(_, _, State, Data) ->
with the expected reason. Any other reason than normal,
shutdown, or {shutdown,Term} causes an
error report to be issued through
- error_logger:format/2.
+ logger(3).
The default Reason is normal.
@@ -2286,7 +2286,7 @@ init(Args) -> erlang:error(not_implemented, [Args]).
shutdown, or {shutdown,Term},
the gen_statem is assumed to terminate because of an error
and an error report is issued using
- error_logger:format/2.
+ logger(3).
--
cgit v1.2.3