You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/site/antora/modules/ROOT/partials/log4j-features.adoc
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,25 +23,25 @@ Log4j bundles a rich set of components to assist various use cases.
23
23
* xref:manual/lookups.adoc[Lookups] for accessing system properties, environment variables, log event fields, etc.
24
24
25
25
API separation::
26
-
The API for Log4j (i.e., `log4j-api`) is separate from the implementation (i.e., `log4j-core`) making it clear for application developers which classes and methods they can use while ensuring forward compatibility.
26
+
The API for Log4j (i.e., `log4j-api`) is separate from the implementation (i.e., `log4j-core`), making it straightforward for application developers which classes and methods to use while ensuring forward compatibility.
27
27
(See xref:manual/api-separation.adoc[API Separation] for details.)
28
-
The Log4j API also provides the most featurerich logging facade in the market; support for various `Message` types (`Object`, `Map`, etc.) besides plain `String`, lambda expressions, parametrized logging, markers, levels, diagnostic contexts (aka. MDC/NDC), etc.
28
+
The Log4j API also provides the most feature-rich logging facade in the market; support for various `Message` types (such as `Object` or `Map`) besides plain `String`, lambda expressions, parametrized logging, markers, levels, diagnostic contexts (aka. MDC/NDC), etc.
29
29
Check out the xref:manual/api.adoc[Java API], {logging-services-url}/log4j/kotlin[Kotlin API], and {logging-services-url}/log4j/scala[Scala API] pages for further information.
30
30
31
31
No vendor lock-in::
32
-
Even though the Log4j API is implemented by the Log4j at its fullest, users can choose to use another logging backend.
33
-
This can be achieved by either using another backend implementing the Log4j API, or forwarding Log4j API calls to another logging facade (e.g., SLF4J) and using a backend for that particular facade.
32
+
Even though Log4j implements the Log4j API at its fullest, users can use another logging backend.
33
+
This can be achieved by either using another backend implementing the Log4j API or forwarding Log4j API calls to another logging facade (e.g., SLF4J) and using a backend for that particular facade.
34
34
35
35
Reliability::
36
-
Log4j is built with strong reliability in mind.
37
-
Such that it can automatically reload its configuration upon modification, and it will do so without losing log events while reconfiguration is taking place.
36
+
Log4j is built with solid reliability in mind.
37
+
It can automatically reload its configuration upon modification and will do so without losing log events while reconfiguration occurs.
38
38
39
39
Performance::
40
40
When configured correctly, Log4j can deliver excelling performance without almost any burden on the Java garbage collector, and it will do so without sacrificing reliability.
41
41
This is made possible via an asynchronous logger founded on the https://lmax-exchange.github.io/disruptor/[LMAX Disruptor] technology (having its roots in the demanding industry of financial trading) and the garbage-free features baked at hot paths.
42
42
Check out the xref:manual/performance.adoc[Performance] page for details.
43
43
44
44
Extensibility::
45
-
Log4j contains a fully-fledged xref:manual/plugins.adoc[plugin support] that users can leverage to extend its functionality.
46
-
You can easily add your own components (layouts, appenders, filters, etc.) or customizing existing ones (e.g., adding new directives to the xref:manual/layouts.adoc#PatternLayout[Pattern] or xref:manual/json-template-layout.adoc#extending[JSON Template Layout]).
45
+
Log4j contains a fully-fledged xref:manual/plugins.adoc[plugin support] that users can leverage to extend functionality.
46
+
You can easily add your components (layouts, appenders, filters, etc.) or customize existing ones (e.g., adding new directives to the xref:manual/layouts.adoc#PatternLayout[Pattern] or xref:manual/json-template-layout.adoc#extending[JSON Template Layout]).
47
47
Check out the xref:manual/extending.adoc[Extending Log4j] page.
0 commit comments