lib/ocean/zero_log.rb
#
# This is a combination of a PUB main thread log data sender,
# pushing directly to the pull_server without the need for a local
# aggregator.
#
This is a combination of a PUB main thread log data sender,
pushing directly to the pull_server without the need for a local
aggregator.
This is a combination of a PUB main thread log data sender pushing directly to the pull_server without the need for a local aggregator .
def log(data)
    init_log_data_sender unless $log_publisher
    json = data.to_json
    $log_publisher.send_string(json)
    data
  end
def log ( data ) init_log_data_sender unless $log_publisher json = data . to_json $log_publisher . send_string ( json ) data end
This is a combination of a PUB main thread log data sender,
pushing directly to the pull_server without the need for a local
aggregator.
This is a combination of a PUB main thread log data sender pushing directly to the pull_server without the need for a local aggregator .
# Send the data #puts "Sending message #{json}"
data