lib/local_pac/logger.rb in local_pac-0.1.10 vs lib/local_pac/logger.rb in local_pac-0.1.11
- old
+ new
@@ -1,8 +1,8 @@
module LocalPac
class Logger
def initialize(path)
- @logger = ::Logger.new(path)
+ @logger = ::Logger.new(::File.expand_path(path))
end
def write(*args, &block)
@logger.<<(*args, &block)
end