method

behavior=

behavior=(behavior)
public

Sets the behavior to the specified value. Can be a single value or an array.

Examples

ActiveSupport::Deprecation.behavior = :stderr
ActiveSupport::Deprecation.behavior = [:stderr, :log]