-
public final class LogsConfiguration.BuilderA Builder class for a LogsConfiguration.
-
-
Constructor Summary
Constructors Constructor Description LogsConfiguration.Builder()
-
Method Summary
Modifier and Type Method Description final LogsConfiguration.BuilderuseCustomEndpoint(String endpoint)Let the Logs feature target a custom server. final LogsConfiguration.BuildersetEventMapper(EventMapper<LogEvent> eventMapper)Sets the EventMapper for the LogEvent. final LogsConfigurationbuild()Builds a LogsConfiguration based on the current state of this Builder. -
-
Method Detail
-
useCustomEndpoint
final LogsConfiguration.Builder useCustomEndpoint(String endpoint)
Let the Logs feature target a custom server.
-
setEventMapper
final LogsConfiguration.Builder setEventMapper(EventMapper<LogEvent> eventMapper)
Sets the EventMapper for the LogEvent. You can use this interface implementation to modify the LogEvent attributes before serialisation.
- Parameters:
eventMapper- the EventMapper implementation.
-
build
final LogsConfiguration build()
Builds a LogsConfiguration based on the current state of this Builder.
-
-
-
-