assert When Legacy Architecture Minifying Enabled
fun assertWhenLegacyArchitectureMinifyingEnabled(name: String, logLevel: LegacyArchitectureLogLevel = LegacyArchitectureLogLevel.WARNING)
Asserts and logs when legacy architecture components are being used in new architecture. This method will throw an exception if the app is running on the new architecture and the logLevel received by parameter is LegacyArchitectureLogLevel.ERROR.
Parameters
name
The name of the legacy component being used
log Level
The severity level of the log (ERROR or WARNING, defaults to WARNING)