withLevel

inline fun <T> withLevel(logName: String, levelName: String, block: () -> T): <Error class: unknown class>

May fail to restore the original level due to unavoidable race if called by multiple threads.