Class: Fluent::Formatter
- Inherits:
-
Object
- Object
- Fluent::Formatter
- Includes:
- Configurable
- Defined in:
- lib/fluent/formatter.rb
Direct Known Subclasses
TextFormatter::CsvFormatter, TextFormatter::HashFormatter, TextFormatter::JSONFormatter, TextFormatter::LabeledTSVFormatter, TextFormatter::MessagePackFormatter, TextFormatter::OutFileFormatter, TextFormatter::ProcWrappedFormatter, TextFormatter::SingleValueFormatter, TextFormatter::StdoutFormatter
Constant Summary
Constants included from Configurable
Configurable::CONFIG_TYPE_REGISTRY
Instance Method Summary collapse
Methods included from Configurable
#config, included, #initialize, lookup_type, register_type
Instance Method Details
#configure(conf) ⇒ Object
25 26 27 |
# File 'lib/fluent/formatter.rb', line 25 def configure(conf) super end |
#format(tag, time, record) ⇒ Object
29 30 31 |
# File 'lib/fluent/formatter.rb', line 29 def format(tag, time, record) raise NotImplementedError, "Implement this method in child class" end |