Sha256: 18294613fcfbfc0c5752fce07b6f8b0579307c363afc7bee82b657441e7bc572

Contents?: true

Size: 205 Bytes

Versions: 13

Compression:

Stored size: 205 Bytes

Contents

module LocalPac
  class AccessLogger
    def initialize(path)
      @logger = ::Logger.new(::File.expand_path(path))
    end

    def write(*args, &block)
      @logger.<<(*args, &block)
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
local_pac-0.9.0 lib/local_pac/access_logger.rb
local_pac-0.7.0 lib/local_pac/access_logger.rb
local_pac-0.6.3 lib/local_pac/access_logger.rb
local_pac-0.6.2 lib/local_pac/access_logger.rb
local_pac-0.6.1 lib/local_pac/access_logger.rb
local_pac-0.5.0 lib/local_pac/access_logger.rb
local_pac-0.4.0 lib/local_pac/access_logger.rb
local_pac-0.3.0 lib/local_pac/access_logger.rb
local_pac-0.2.3 lib/local_pac/access_logger.rb
local_pac-0.2.2 lib/local_pac/access_logger.rb
local_pac-0.2.1 lib/local_pac/access_logger.rb
local_pac-0.2.0 lib/local_pac/access_logger.rb
local_pac-0.1.13 lib/local_pac/access_logger.rb