Hello guys. I’m working on a multiplaform project, iOS and JVM (I’m not targeting Android directly). Depending on the build type (debug or release) I want to configure the logging level (i.e. to print only errors in release). Since there is no a
class avaialble, how can I know from
the build type?
01/18/2019, 6:26 PM
You need to find another way, like allowing to set the log level from the host app, or have an additional artifact for debug, similar to how it's done for kotlinx.coroutines