Sha256: 127484998bcf9b102270c28049fe460f8372b5e5f8ac2d1ac9b5120d3a1b802d

Contents?: true

Size: 559 Bytes

Versions: 2

Compression:

Stored size: 559 Bytes

Contents

#          Copyright (c) 2006 Michael Fellinger m.fellinger@gmail.com
# All files in this distribution are subject to the terms of the Ruby license.

require 'swiftcore/Analogger/Client'

module Ramaze

  class Analogger < ::Swiftcore::Analogger::Client
    include Informing

    trait :name => 'walrus'
    trait :host => '127.0.0.1'
    trait :port => 6766

    def initialize(name = class_trait[:name], host = class_trait[:host], port = class_trait[:port])
      super
    end

    def inform(tag, *args)
      log(tag, args.join("\n"))
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ramaze-0.1.1 lib/ramaze/inform/analogger.rb
ramaze-0.1.2 lib/ramaze/inform/analogger.rb