Module: Nephos::Logger
- Defined in:
- lib/nephos-server/server/logger.rb
Constant Summary collapse
- @@fd =
STDOUT
Class Method Summary collapse
Class Method Details
.fd=(fd) ⇒ Object
13 14 15 |
# File 'lib/nephos-server/server/logger.rb', line 13 def self.fd= fd @@fd = fd end |
.write(*what) ⇒ Object
8 9 10 11 |
# File 'lib/nephos-server/server/logger.rb', line 8 def self.write(*what) what.flatten.each{|e| @@fd.write("#{e}\n")} @@fd.flush end |