Interface LogElementBuilder
-
- All Superinterfaces:
io.micronaut.core.order.Ordered
- All Known Implementing Classes:
BytesSentElementBuilder,CookieElementBuilder,DateTimeElementBuilder,ElapseTimeElementBuilder,HeaderElementBuilder,LocalHostElementBuilder,LocalIpElementBuilder,LocalPortElementBuilder,NotImplementedElementBuilder,RemoteHostElementBuilder,RemoteIpElementBuilder,RequestLineElementBuilder,RequestMethodElementBuilder,RequestProtocolElementBuilder,RequestUriElementBuilder,ResponseCodeElementBuilder
public interface LogElementBuilder extends io.micronaut.core.order.OrderedBuilder for LogElement.- Since:
- 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LogElementbuild(java.lang.String token, java.lang.String param)Builds the log element for the specified token.
-
-
-
Method Detail
-
build
LogElement build(java.lang.String token, java.lang.String param)
Builds the log element for the specified token. It should return null it the token is not supported.- Parameters:
token- The log element marker.param- An optional paramter.- Returns:
- A LogElement or null if not supported by the builder.
-
-