Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #2263: clean_logger-1.8.3-compat-fix.patch

File clean_logger-1.8.3-compat-fix.patch, 408 bytes (added by rtomayko@gmail.com, 4 years ago)

Patch to fix the ordering and Format issue...

  • clean_logger.rb

    old new  
    1010  end 
    1111 
    1212  private 
    13     remove_const "Format" 
     13    remove_const "Format" if defined? Format 
    1414    Format = "%s\n" 
    15     def format_message(severity, timestamp, msg, progname
     15    def format_message(severity, timestamp, progname, msg
    1616      Format % [msg] 
    1717    end 
    1818end