Module: SearchKit::Messaging

Overview

The goal of the Messaging module is to provide an easy to include internal interface which will allow a SearchKit gem to dutifully log and provide output of what it’s up to and how it may be doing.

Defined Under Namespace

Classes: Message

Instance Method Summary collapse

Instance Method Details

#info(message) ⇒ Object



9
10
11
# File 'lib/search_kit/messaging.rb', line 9

def info(message)
  Message.new(message).info
end

#warning(message) ⇒ Object



13
14
15
# File 'lib/search_kit/messaging.rb', line 13

def warning(message)
  Message.new(message).warn
end