Module: Fluent::Compat::ChunkSizeCompatMixin

Defined in:
lib/fluent/compat/output.rb

Instance Method Summary collapse

Instance Method Details

#sizeObject



116
117
118
# File 'lib/fluent/compat/output.rb', line 116

def size
  self.bytesize
end

#size_of_eventsObject



120
121
122
# File 'lib/fluent/compat/output.rb', line 120

def size_of_events
  @size + @adding_size
end