Skip to content

Commit cf49f4f

Browse files
committed
Fixy typos.
1 parent 59de41f commit cf49f4f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/src/main/asciidoc/se/guides/logging.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ This guide describes various aspects of logging support in Helidon.
3838
Helidon modules use the Java Platform Logging API (`System.Logger`) for logging. Therefore,
3939
Helidon applications will use Java Util Logging (JUL) as the default log framework.
4040
41-
If in your application you wish to use another logging framework such as log4j or slf4j,
41+
If you wish to use another logging framework such as log4j or slf4j,
4242
then you can do so. See section <<log4j and slf4j support,log4j and slf4j support>>
4343
4444
== Customizing Logging with Java Util Logging
@@ -170,7 +170,7 @@ If you include tracing in your project, Helidon automatically provides the MDC k
170170
171171
=== Storing values in MDC
172172
173-
To set your own values in the MDC you can use `io.helidon.logging.common.HelidonMdc` class:
173+
To set your own values in the MDC you can use the `io.helidon.logging.common.HelidonMdc` class:
174174
175175
[source,java]
176176
----
@@ -180,7 +180,7 @@ HelidonMdc.set("otherName", () -> retrieveStringValue()); // <2>
180180
<1> Stores an attribute named "name" with the fixed value "Joe" in the MDC.
181181
<2> Stores an attribute named "otherName" with the given `Supplier<String>`.
182182
183-
The `set(<String, String>`) method associates the name with a fixed value. The `set(<String>, <Supplier<String>>) form associates the name with a lambda or method reference. This second form might be useful if your code (or Helidon) maintains the value you want to log in some context that your code can access and if that value changes as the server runs. In both cases, when your logging format refers to the name logging extracts the corresponding fixed value or invoked the supplier to obtain the value, using the result in log output.
183+
The `set(<String, String>)` method associates the name with a fixed value. The `set(<String>, <Supplier<String>>)` form associates the name with a lambda or method reference. This second form might be useful if your code (or Helidon) maintains the value you want to log in some context that your code can access and if that value changes as the server runs. In both cases, when your logging format refers to the name logging extracts the corresponding fixed value or invokes the supplier to obtain the value, using the result in log output.
184184
185185
`HelidonMdc` works with the supported logging frameworks. But if you prefer, you can
186186
use a logging framework specific API. Such as `org.slf4j.MDC` or `org.apache.logging.log4j.ThreadContext` instead.

0 commit comments

Comments
 (0)