Method: GnipApi::Apis::PowerTrack::Stream#log_system_messages

Defined in:
lib/gnip_api/apis/power_track/stream.rb

#log_system_messages(entries) ⇒ Object


42
43
44
45
46
# File 'lib/gnip_api/apis/power_track/stream.rb', line 42

def log_system_messages entries
  entries.select{|message| message.system_message? }.each do |system_message|
    GnipApi.logger.send(system_message.log_method, system_message.message)
  end
end