Module: Nyanko::Logger

Defined in:
lib/nyanko/logger.rb

Defined Under Namespace

Classes: Message

Class Method Summary collapse

Class Method Details

.decorate(message) ⇒ Object



12
13
14
# File 'lib/nyanko/logger.rb', line 12

def decorate(message)
  Message.new(message).to_s
end

.loggerObject



16
17
18
# File 'lib/nyanko/logger.rb', line 16

def logger
  Rails.logger
end