server.rb in saorin-0.1.4 vs server.rb in saorin-0.2.0
- old
+ new
@@ -2,10 +2,10 @@
# -*- encoding: utf-8 -*-
require 'saorin'
class Handler
def log(tag, time, record)
- puts [tag, time, record]
+ p [tag, time, record]
nil
end
end
Saorin::Server.start Handler.new, :host => 'localhost', :port => 25252, :adapter => :reel