summaryrefslogtreecommitdiff
path: root/README.adoc
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2022-01-15 14:03:41 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2022-01-15 14:27:26 +0100
commit93ecfd1e0c1d1e40fb17e580a7a11de35383ef79 (patch)
tree6265b4bfe75ddab0a566c6d1b32ca1391081fd9b /README.adoc
parent20210245e619658c2459c77223d9abe3c643a882 (diff)
Load providers registered through the ServiceLoader mechanism.
Change-Id: I392e78b34c8330e9b4c06d57b1423ca552ba6fc1
Diffstat (limited to 'README.adoc')
-rw-r--r--README.adoc4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.adoc b/README.adoc
index 79407cf..494f44c 100644
--- a/README.adoc
+++ b/README.adoc
@@ -144,6 +144,10 @@ parameters for each message that is logged. This can be used to
provide contextual information such as tracing and request IDs stored
in thread-local storage.
+Alternatively, you can also register providers through the Java
+https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/ServiceLoader.html[ServiceLoader]
+mechanism.
+
**Example:**
[source,java]