setLevel

fun setLevel(level: LogLevel, category: LogCategory = LogCategory.Realm)

Sets the log level of a log category. By setting the log level of a category all its subcategories would also be updated to match its level.

Parameters

level

target log level.

category

target log category, LogCategory.Realm by default.