Class: Fluent::Plugin::WendelinOutputFormatted
- Inherits:
-
WendelinOutput
- Object
- Output
- WendelinOutput
- Fluent::Plugin::WendelinOutputFormatted
- Defined in:
- lib/fluent/plugin/out_wendelin_formatted.rb
Instance Method Summary collapse
- #configure(conf) ⇒ Object
- #format(tag, time, record) ⇒ Object
- #formatted_to_msgpack_binary? ⇒ Boolean
- #write(chunk) ⇒ Object
Methods inherited from WendelinOutput
Instance Method Details
#configure(conf) ⇒ Object
38 39 40 41 |
# File 'lib/fluent/plugin/out_wendelin_formatted.rb', line 38 def configure(conf) super @formatter = formatter_create end |
#format(tag, time, record) ⇒ Object
47 48 49 |
# File 'lib/fluent/plugin/out_wendelin_formatted.rb', line 47 def format(tag, time, record) @formatter.format(tag, time, record) end |
#formatted_to_msgpack_binary? ⇒ Boolean
43 44 45 |
# File 'lib/fluent/plugin/out_wendelin_formatted.rb', line 43 def formatted_to_msgpack_binary? @formatter_configs.first[:@type] == 'msgpack' end |
#write(chunk) ⇒ Object
51 52 53 |
# File 'lib/fluent/plugin/out_wendelin_formatted.rb', line 51 def write(chunk) super end |