Sha256: 376062e6c9d44ff88f3b94463e9474df980138dfeec84dcd011e694edd8d9938

Contents?: true

Size: 215 Bytes

Versions: 12

Compression:

Stored size: 215 Bytes

Contents

module Wiselinks
  module Logger
    def logger
      @logger ||= Wiselinks.options[:logger] || ::Logger.new(STDOUT)
    end

    def log(message)
      self.logger.info("  [wiselinks] #{message}")
    end
  end
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
wiselinks-artirix-1.3.0 lib/wiselinks/logger.rb
wiselinks-1.2.1 lib/wiselinks/logger.rb
wiselinks-1.2.0 lib/wiselinks/logger.rb
wiselinks-1.1.4 lib/wiselinks/logger.rb
wiselinks-1.1.2 lib/wiselinks/logger.rb
wiselinks-1.1.1 lib/wiselinks/logger.rb
wiselinks-1.1.0 lib/wiselinks/logger.rb
wiselinks-1.0.0 lib/wiselinks/logger.rb
wiselinks-0.7.3 lib/wiselinks/logger.rb
wiselinks-0.7.2 lib/wiselinks/logger.rb
wiselinks-0.7.1 lib/wiselinks/logger.rb
wiselinks-0.7.0 lib/wiselinks/logger.rb