Sha256: eadb7704f7a897fa6b057a807d8d8d72b5db1225b1df8f12d74263c7602092b0

Contents?: true

Size: 256 Bytes

Versions: 54

Compression:

Stored size: 256 Bytes

Contents

require 'logger'

module Dugway
  class Logger < ::Logger
    def initialize
      Dir.mkdir(dir) unless File.exists?(dir)
      super(File.join(dir, 'dugway.log'))
    end

    def dir
      File.join(Dir.pwd, 'log')
    end

    alias write <<
  end
end

Version data entries

54 entries across 54 versions & 1 rubygems

Version Path
dugway-1.0.14 lib/dugway/logger.rb
dugway-1.0.13 lib/dugway/logger.rb
dugway-1.0.12 lib/dugway/logger.rb
dugway-1.0.10 lib/dugway/logger.rb
dugway-1.0.9 lib/dugway/logger.rb
dugway-1.0.8 lib/dugway/logger.rb
dugway-1.0.7 lib/dugway/logger.rb
dugway-1.0.6 lib/dugway/logger.rb
dugway-1.0.5 lib/dugway/logger.rb
dugway-1.0.4 lib/dugway/logger.rb
dugway-1.0.3 lib/dugway/logger.rb
dugway-1.0.2 lib/dugway/logger.rb
dugway-1.0.1 lib/dugway/logger.rb
dugway-1.0.0 lib/dugway/logger.rb
dugway-0.12.3 lib/dugway/logger.rb
dugway-0.12.2 lib/dugway/logger.rb
dugway-0.12.1 lib/dugway/logger.rb
dugway-0.12.0 lib/dugway/logger.rb
dugway-0.11.4 lib/dugway/logger.rb
dugway-0.11.3 lib/dugway/logger.rb