Exception: Snails::Logger::Delivery::RetainedBatch

Inherits:
StandardError
  • Object
show all
Defined in:
runtime/snails/logger/delivery.rb,
runtime/snails/logger/delivery.rbs

Overview

A batch the database lock kept out, now waiting for the next flush. Nothing was lost, so the local line is a warning: the operator sees the transport waiting, not a gap in the record stream.

Instance Method Summary collapse

Constructor Details

#initialize(count) ⇒ RetainedBatch

Returns a new instance of RetainedBatch.

Parameters:



18
# File 'runtime/snails/logger/delivery.rbs', line 18

def initialize: (Integer count) -> void

Instance Method Details

#count ⇒ Integer

how many records are waiting for the next flush.

Returns:



60
# File 'runtime/snails/logger/delivery.rb', line 60

def count: () -> Integer

#severity ⇒ Symbol

how the local line reports the wait: nothing was lost.

Returns:

  • (Symbol) —

    :warn



67
# File 'runtime/snails/logger/delivery.rb', line 67

def severity: () -> Symbol