Did some refactoring to decouple things. Also added new config key where user can choose syslog as logging options as well. Deleted lib/oxidized/log.rb. It was monkeypatching Ruby's Logger class and was coupled with Config class. Now logging is accessible through Oxidized.logger instead of Log constant.
Did some refactoring to decouple things. Also added new config key where user can choose
syslog
as logging options as well. Deletedlib/oxidized/log.rb
. It was monkeypatching Ruby's Logger class and was coupled with Config class. Now logging is accessible throughOxidized.logger
instead ofLog
constant.@ibawt @charlescng