Class: Trifle::Logs::Formatter::Content::Json
- Inherits:
-
Object
- Object
- Trifle::Logs::Formatter::Content::Json
- Defined in:
- lib/trifle/logs/formatter/content/json.rb
Instance Method Summary collapse
Instance Method Details
#format(scope, message) ⇒ Object
10 11 12 13 14 15 |
# File 'lib/trifle/logs/formatter/content/json.rb', line 10 def format(scope, ) { scope: scope, message: }.to_json end |