Sha256: d05e8913ca4ddd2f3438f0c1fc8a0bd45b0e2f7724fa1211d763b77aa3dfb75c

Contents?: true

Size: 302 Bytes

Versions: 8

Compression:

Stored size: 302 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(step_name:, args:, value:)
        logger.info("Error: #{value[:message]}")
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
pg_export-0.7.7 lib/pg_export/lib/pg_export/listeners/plain_listener.rb
pg_export-0.7.6 lib/pg_export/lib/pg_export/listeners/plain_listener.rb
pg_export-0.7.5 lib/pg_export/lib/pg_export/listeners/plain_listener.rb
pg_export-0.7.4 lib/pg_export/lib/pg_export/listeners/plain_listener.rb
pg_export-0.7.3 lib/pg_export/lib/pg_export/listeners/plain_listener.rb
pg_export-0.7.2 lib/pg_export/lib/pg_export/listeners/plain_listener.rb
pg_export-0.7.1 lib/pg_export/lib/pg_export/listeners/plain_listener.rb
pg_export-0.7.0 lib/pg_export/lib/pg_export/listeners/plain_listener.rb