lib/flapjack/patches.rb in auxesis-flapjack-0.4.8 vs lib/flapjack/patches.rb in auxesis-flapjack-0.4.9

- old
+ new

@@ -1,7 +1,8 @@ require 'ostruct' require 'daemons' +require 'log4r' class OpenStruct def to_h @table end @@ -14,10 +15,12 @@ File.join(@dir, "#{@progname}#{Process.pid}.pid") end end end -class Log4r::Logger - def error(args) - err(args) +module Log4r + class Logger + def error(args) + err(args) + end end end