Sha256: fad67cc677002240534e29a648c44d72882a989e6c32531089c4f7702111b196

Contents?: true

Size: 275 Bytes

Versions: 6

Compression:

Stored size: 275 Bytes

Contents

# coding: utf-8

module Nephos

  module Logger

    @@fd = STDOUT
    def self.write(*what)
      what.flatten.each{|e| @@fd.write("#{e}\n")}
      @@fd.flush
    end

    def self.fd= fd
      @@fd = fd
    end

  end

  def self.log *what
    Logger.write what
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
nephos-server-0.7.2 lib/nephos-server/server/logger.rb
nephos-server-0.7.1 lib/nephos-server/server/logger.rb
nephos-server-0.7.0 lib/nephos-server/server/logger.rb
nephos-server-0.6.9 lib/nephos-server/server/logger.rb
nephos-server-0.6.8 lib/nephos-server/server/logger.rb
nephos-server-0.6.7 lib/nephos-server/server/logger.rb