Sha256: c6e650a079edc1017a0538f72f161571d875b8d4261a25ae46ecc05cb66b0898
Contents?: true
Size: 373 Bytes
Versions: 14
Compression:
Stored size: 373 Bytes
Contents
require 'fluent/plugin/formatter' module Fluent module Plugin class TestFormatter < Formatter Fluent::Plugin.register_formatter('test', self) def configure(conf) super end def format(tag, time, record) output = { "wrapped" => true, "record" => record } output end end end end
Version data entries
14 entries across 14 versions & 3 rubygems