Legacy Architecture Logger
object LegacyArchitectureLogger
Logger class to track legacy architecture usage.
This class provides logging functionality to help track and debug usage of legacy architecture components when an app is running on the new architecture. The data provided by this class will help identify classes and methods that are still being used in the new architecture when they shouldn't.
Functions
Link copied to clipboard
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.