diff options
author | Elvin Efendi <elvin.efendiyev@gmail.com> | 2015-12-13 19:04:57 -0500 |
---|---|---|
committer | Elvin Efendi <elvin.efendiyev@gmail.com> | 2015-12-13 19:04:57 -0500 |
commit | 1fd8f795e40641356d0a4577744c197723b6a3a1 (patch) | |
tree | f505d91af55ee18837d0290f3d9ea7ff8531240b /lib/oxidized/log.rb | |
parent | 82db9fdd9c135a445a4839e39b245a9965091219 (diff) | |
parent | 1c4f886e883f947b649613a21955929fa6d7e94c (diff) |
Merge pull request #13 from Shopify/refactoring
Refactoring
Diffstat (limited to 'lib/oxidized/log.rb')
-rw-r--r-- | lib/oxidized/log.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/oxidized/log.rb b/lib/oxidized/log.rb deleted file mode 100644 index 04a2d65..0000000 --- a/lib/oxidized/log.rb +++ /dev/null @@ -1,15 +0,0 @@ -module Oxidized - require 'logger' - - class Logger < Logger - def initialize target=STDOUT - super target - end - def file= target - FileUtils.mkdir_p File.dirname(target) - @logdev = LogDevice.new target - end - end - - Log = Logger.new -end |