Sha256: 8eb9975cd4ac93dbeaa9b67ecd1e20791c8c5547a4d54a8b32f3f0f4e51400a8
Contents?: true
Size: 322 Bytes
Versions: 1
Compression:
Stored size: 322 Bytes
Contents
# frozen_string_literal: true require 'json' module Trifle module Logs module Formatter module Content class Json def format(scope, message) { scope: scope, message: message }.to_json end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
trifle-logs-0.2.1 | lib/trifle/logs/formatter/content/json.rb |