Class: Trifle::Logs::Formatter::Content::Text

Inherits:
Object
  • Object
show all
Defined in:
lib/trifle/logs/formatter/content/text.rb

Instance Method Summary collapse

Instance Method Details

#format(scope, message) ⇒ Object



8
9
10
11
12
13
# File 'lib/trifle/logs/formatter/content/text.rb', line 8

def format(scope, message)
  [
    scope.map { |pair| pair.join(':') }.join(';'),
    message
  ].join(' ')
end