Module: Locomotive::Logger
- Defined in:
- lib/locomotive/logger.rb
Class Method Summary collapse
Class Method Details
.method_missing(meth, message, &block) ⇒ Object
4 5 6 7 8 |
# File 'lib/locomotive/logger.rb', line 4 def self.method_missing(meth, , &block) if Locomotive.config.enable_logs == true Rails.logger.send(meth, "[LocomotiveCMS] #{}") end end |