Skip to content

Commit

Permalink
[logger] prevent object.INSTANCE minification
Browse files Browse the repository at this point in the history
  • Loading branch information
Łukasz Paczos committed Apr 28, 2020
1 parent 1973304 commit b307a82
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.mapbox.common.logger

import android.util.Log
import androidx.annotation.Keep
import com.mapbox.annotation.module.MapboxModule
import com.mapbox.annotation.module.MapboxModuleType
import com.mapbox.base.common.logger.Logger
Expand All @@ -14,6 +15,7 @@ import java.util.concurrent.atomic.AtomicReference
* via [LoggerObserver].
*/
@MapboxModule(MapboxModuleType.CommonLogger)
@Keep
object MapboxLogger : Logger {

private const val DEFAULT_TAG = "MapboxLogger"
Expand Down

0 comments on commit b307a82

Please sign in to comment.