File 6870-logger-Remove-docs-speaking-about-introduction-of-lo.patch of Package erlang
From fa1f8dcd2cee9c737e6500725f98ef6e640159d9 Mon Sep 17 00:00:00 2001
From: Lukas Larsson <lukas@erlang.org>
Date: Thu, 5 Oct 2023 10:52:05 +0200
Subject: [PATCH 10/10] logger: Remove docs speaking about introduction of
logger
OTP 21 was a long time ago, so no need to have these disclaimers anymore.
---
lib/kernel/doc/src/logger.xml | 7 -------
lib/kernel/doc/src/logger_chapter.xml | 9 +--------
2 files changed, 1 insertion(+), 15 deletions(-)
diff --git a/lib/kernel/doc/src/logger.xml b/lib/kernel/doc/src/logger.xml
index ceafb8e0df..1299ada9b8 100644
--- a/lib/kernel/doc/src/logger.xml
+++ b/lib/kernel/doc/src/logger.xml
@@ -87,13 +87,6 @@ logger:error("error happened because: ~p", [Reason]). % Without macro
see <seeerl marker="logger_filters">logger_filters</seeerl>.</item>
</list>
- <note>
- <p>Since Logger is new in Erlang/OTP 21.0, we do reserve the right
- to introduce changes to the Logger API and functionality in
- patches following this release. These changes might or might not
- be backwards compatible with the initial version.</p>
- </note>
-
</description>
<datatypes>
diff --git a/lib/kernel/doc/src/logger_chapter.xml b/lib/kernel/doc/src/logger_chapter.xml
index 302666cc3e..b5d94b3167 100644
--- a/lib/kernel/doc/src/logger_chapter.xml
+++ b/lib/kernel/doc/src/logger_chapter.xml
@@ -30,7 +30,7 @@
<file>logger_chapter.xml</file>
</header>
- <p>Erlang/OTP 21.0 provides a standard API for logging
+ <p>Erlang provides a standard API for logging
through <c>Logger</c>, which is part of the Kernel
application. Logger consists of the API for issuing log events,
and a customizable backend where log handlers, filters and
@@ -48,13 +48,6 @@
handler, replace it by a custom handler, and install additional
handlers.</p>
- <note>
- <p>Since Logger is new in Erlang/OTP 21.0, we do reserve the right
- to introduce changes to the Logger API and functionality in
- patches following this release. These changes might or might not
- be backwards compatible with the initial version.</p>
- </note>
-
<section>
<title>Overview</title>
<p>A <em>log event</em> consists of a <em>log level</em>, the
--
2.35.3