Sha256: eba80981d264e4f3d8672a221f26461b6d398f6c1c93e3b39359dff568613701

Contents?: true

Size: 290 Bytes

Versions: 5

Compression:

Stored size: 290 Bytes

Contents

# frozen_string_literal: true

# auto_register: false

require 'pg_export/import'

class PgExport
  module Listeners
    class PlainListener
      include Import['logger']

      def on_step_failed(event)
        logger.info("Error: #{event[:value][:message]}")
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pg_export-1.0.0.rc5 lib/pg_export/lib/pg_export/listeners/plain_listener.rb
pg_export-1.0.0.rc4 lib/pg_export/lib/pg_export/listeners/plain_listener.rb
pg_export-1.0.0.rc3 lib/pg_export/lib/pg_export/listeners/plain_listener.rb
pg_export-1.0.0.rc2 lib/pg_export/lib/pg_export/listeners/plain_listener.rb
pg_export-1.0.0.rc1 lib/pg_export/lib/pg_export/listeners/plain_listener.rb