lib/rawjsonrpc/server.rb in rawjsonrpc-0.1.3 vs lib/rawjsonrpc/server.rb in rawjsonrpc-0.1.4
- old
+ new
@@ -88,10 +88,10 @@
end
end
public
# Starts the servering the methods for clients
def serve
- check @log, "start serving data at " + @port.to_s
+ check @log.info, "start serving data at " + @port.to_s
server = TCPServer.new(@port)
client = server.accept
loop do
begin
data = client.gets