Module: Alchemy::Logger
- Included in:
 - Element, Page, Picture, PictureVariant
 
- Defined in:
 - lib/alchemy/logger.rb
 
Class Method Summary collapse
- 
  
    
      .warn(message, caller_string)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Logs a debug message to the Rails standard logger and adds some nicer formatting.
 
Instance Method Summary collapse
Class Method Details
.warn(message, caller_string) ⇒ Object
Logs a debug message to the Rails standard logger and adds some nicer formatting
      6 7 8 9  | 
    
      # File 'lib/alchemy/logger.rb', line 6 def self.warn(, caller_string) Rails.logger.debug %(\n++++ WARNING: #{}\nCalled from: #{caller_string}\n) nil end  |