LogConfiguration

Class that allows to configure Mapbox SDKs logging per application.

Functions

Link copied to clipboard
@Nullable
open fun getLoggingLevel(): LoggingLevel
Return current default logging level.
@Nullable
open fun getLoggingLevel(@NonNull category: String): LoggingLevel
Return current logging level for category.
Link copied to clipboard
open fun registerLogWriterBackend(@Nullable logWriter: LogWriterBackend)
Sets the backend which writes the log.
Link copied to clipboard
open fun resetLoggingLevel(@NonNull category: String)
Reset logging level for category to default logging level.
Link copied to clipboard
open fun setLoggingLevel(@Nullable upTo: LoggingLevel)
Sets the default logging level.
open fun setLoggingLevel(@NonNull category: String, @Nullable upTo: LoggingLevel)
Sets the logging level for provided category.