LogsConfiguration.Builder - DataDog/dd-sdk-android GitHub Wiki
class Builder
A Builder class for a LogsConfiguration.
Constructors
Builder
constructor()
Functions
build
fun build(): LogsConfiguration
Builds a LogsConfiguration based on the current state of this Builder.
setEventMapper
fun setEventMapper(eventMapper: EventMapper<LogEvent>): LogsConfiguration.Builder
Sets the EventMapper for the LogEvent. You can use this interface implementation to modify the LogEvent attributes before serialisation.
Parameters
eventMapper | the EventMapper implementation. |
useCustomEndpoint
fun useCustomEndpoint(endpoint: String): LogsConfiguration.Builder
Let the Logs feature target a custom server.