Module: Bridgetown::Deprecator
- Defined in:
- bridgetown-core/lib/bridgetown-core/deprecator.rb
Class Method Summary collapse
Class Method Details
.deprecation_message(message) ⇒ Object
5 6 7 8 9 10 11 |
# File 'bridgetown-core/lib/bridgetown-core/deprecator.rb', line 5 def self.() Bridgetown.logger.warn "Deprecation:", caller_locations[0..1].each_with_index do |backtrace_line, index| Bridgetown.logger.debug "#{index + 1}:", backtrace_line end end |