class Sentry::LogEventBuffer

@!visibility private
This is used internally by the ‘Sentry::Client`.
LogEventBuffer buffers log events and sends them to Sentry in a single envelope.

def initialize(configuration, client)

def initialize(configuration, client)
  super(
    configuration,
    client,
    event_class: LogEvent,
    max_items: configuration.max_log_events || DEFAULT_MAX_EVENTS,
    max_items_before_drop: MAX_EVENTS_BEFORE_DROP,
    envelope_type: "log",
    envelope_content_type: "application/vnd.sentry.items.log+json",
    before_send: configuration.before_send_log
  )
end