aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/doc/src
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2018-05-22 13:22:55 +0200
committerSiri Hansen <[email protected]>2018-05-23 12:50:55 +0200
commit53539ee751da408029c9dfae80384fdec6c7a552 (patch)
tree7a9d516ca9d0678dd37748dd010fa62ff05df322 /lib/stdlib/doc/src
parent72f1ce276401e0b8de9c0c527cbc324da0186939 (diff)
downloadotp-53539ee751da408029c9dfae80384fdec6c7a552.tar.gz
otp-53539ee751da408029c9dfae80384fdec6c7a552.tar.bz2
otp-53539ee751da408029c9dfae80384fdec6c7a552.zip
Update documentation of logger and error_logger
Diffstat (limited to 'lib/stdlib/doc/src')
-rw-r--r--lib/stdlib/doc/src/proc_lib.xml17
1 files changed, 9 insertions, 8 deletions
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 @@
<c>shutdown</c>, or <c>{shutdown,Term}</c>), a <em>crash report</em>
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 <seealso marker="sasl:error_logging">
- SASL Error Logging</seealso> in the SASL User's Guide.</p>
+ were logged prior to Erlang/OTP 21.0, see
+ <seealso marker="sasl:error_logging">SASL Error Logging</seealso>
+ in the SASL User's Guide.</p>
<p>Unlike in "plain Erlang", <c>proc_lib</c> processes will not generate
<em>error reports</em>, which are written to the terminal by the
@@ -118,9 +119,9 @@
the <c>error_logger</c> is no longer the preferred
interface for logging in Erlang/OTP. A
new <seealso marker="kernel:logger_chapter">logging
- API</seealso> was added in OTP-21, but
- legacy <c>error_logger</c> handlers may still be used. New
- logger handlers do not need to used this function, since
+ API</seealso> was added in Erlang/OTP 21.0, but
+ legacy <c>error_logger</c> handlers can still be used. New
+ Logger handlers do not need to use this function, since
the formatting callback (<c>report_cb</c>) is included as
metadata in the log event.</p>
</note>
@@ -145,9 +146,9 @@
the <c>error_logger</c> is no longer the preferred
interface for logging in Erlang/OTP. A
new <seealso marker="kernel:logger_chapter">logging
- API</seealso> was added in OTP-21, but
- legacy <c>error_logger</c> handlers may still be used. New
- logger handlers do not need to used this function, since
+ API</seealso> was added in Erlang/OTP 21.0, but
+ legacy <c>error_logger</c> handlers can still be used. New
+ Logger handlers do not need to used this function, since
the formatting callback (<c>report_cb</c>) is included as
metadata in the log event.</p>
</note>