setDeprecation

open fun setDeprecation(deprecation: Boolean)(source)

Sets whether to log details of usage of deprecated members or classes. Defaults to false.