Sha256: 02c7e3f0e682a5ddf664f22477bb8727addf041afc43812e11f501be07cab9bd

Contents?: true

Size: 248 Bytes

Versions: 12

Compression:

Stored size: 248 Bytes

Contents

module LitmusPaper
  class Logger
    extend Forwardable
    def_delegators :@syslog, :debug, :info

    def initialize
      @syslog = SyslogLogger.new("litmus_paper")
    end

    def write(message)
      @syslog.info(message)
    end

  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
litmus_paper-0.6.2 lib/litmus_paper/logger.rb
litmus_paper-0.6.1 lib/litmus_paper/logger.rb
litmus_paper-0.6.0 lib/litmus_paper/logger.rb
litmus_paper-0.5.0 lib/litmus_paper/logger.rb
litmus_paper-0.4.0 lib/litmus_paper/logger.rb
litmus_paper-0.3.5 lib/litmus_paper/logger.rb
litmus_paper-0.3.3 lib/litmus_paper/logger.rb
litmus_paper-0.3.2 lib/litmus_paper/logger.rb
litmus_paper-0.3.1 lib/litmus_paper/logger.rb
litmus_paper-0.3.0 lib/litmus_paper/logger.rb
litmus_paper-0.1.0 lib/litmus_paper/logger.rb
litmus_paper-0.0.3 lib/litmus_paper/logger.rb