Class: Lsslog::Services::WriteLog

Inherits:
Base
  • Object
show all
Defined in:
lib/lsslog/services/write_log.rb

Instance Attribute Summary

Attributes inherited from Base

#client

Instance Method Summary collapse

Methods inherited from Base

call, #initialize

Constructor Details

This class inherits a constructor from Lsslog::Services::Base

Instance Method Details

#call(message) ⇒ Object



4
5
6
# File 'lib/lsslog/services/write_log.rb', line 4

def call(message)
  client.write_log(Lsslog::LssLog.new(message))
end