From 53539ee751da408029c9dfae80384fdec6c7a552 Mon Sep 17 00:00:00 2001 From: Siri Hansen Date: Tue, 22 May 2018 13:22:55 +0200 Subject: Update documentation of logger and error_logger --- lib/stdlib/doc/src/proc_lib.xml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'lib/stdlib') diff --git a/lib/stdlib/doc/src/proc_lib.xml b/lib/stdlib/doc/src/proc_lib.xml index c4fdf972e4..51380ae51c 100644 --- a/lib/stdlib/doc/src/proc_lib.xml +++ b/lib/stdlib/doc/src/proc_lib.xml @@ -61,8 +61,9 @@ shutdown, or {shutdown,Term}), a crash report is generated, which is written to terminal by the default logger handler setup by Kernel. For more information about how crash reports - were logged before OTP-21, see - SASL Error Logging in the SASL User's Guide.

+ were logged prior to Erlang/OTP 21.0, see + SASL Error Logging + in the SASL User's Guide.

Unlike in "plain Erlang", proc_lib processes will not generate error reports, which are written to the terminal by the @@ -118,9 +119,9 @@ the error_logger is no longer the preferred interface for logging in Erlang/OTP. A new logging - API was added in OTP-21, but - legacy error_logger handlers may still be used. New - logger handlers do not need to used this function, since + API was added in Erlang/OTP 21.0, but + legacy error_logger handlers can still be used. New + Logger handlers do not need to use this function, since the formatting callback (report_cb) is included as metadata in the log event.

@@ -145,9 +146,9 @@ the error_logger is no longer the preferred interface for logging in Erlang/OTP. A new logging - API was added in OTP-21, but - legacy error_logger handlers may still be used. New - logger handlers do not need to used this function, since + API was added in Erlang/OTP 21.0, but + legacy error_logger handlers can still be used. New + Logger handlers do not need to used this function, since the formatting callback (report_cb) is included as metadata in the log event.

-- cgit v1.2.3