Class: Fluent::Plugin::MessagePackFormatter
- Defined in:
- lib/fluent/plugin/formatter_msgpack.rb
Direct Known Subclasses
Constant Summary
Constants included from Configurable
Configurable::CONFIG_TYPE_REGISTRY
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods included from TimeMixin::Formatter
included, #time_formatter_create
Methods included from OwnedByMixin
Methods inherited from Base
#after_shutdown, #after_shutdown?, #after_start, #after_started?, #before_shutdown, #before_shutdown?, #close, #closed?, #configure, #configured?, #has_router?, #initialize, #inspect, #shutdown, #shutdown?, #start, #started?, #stop, #stopped?, #terminate, #terminated?
Methods included from SystemConfig::Mixin
#system_config, #system_config_override
Methods included from Configurable
#config, #configure, included, #initialize, lookup_type, register_type
Constructor Details
This class inherits a constructor from Fluent::Plugin::Base
Instance Method Details
#format(tag, time, record) ⇒ Object
24 25 26 |
# File 'lib/fluent/plugin/formatter_msgpack.rb', line 24 def format(tag, time, record) record.to_msgpack end |