Sha256: bdb17e5299135593b07cdb1c0ddddfc638bacfdf07d9b3b8ac1adbfe9c7e9e4d

Contents?: true

Size: 296 Bytes

Versions: 11

Compression:

Stored size: 296 Bytes

Contents

# frozen_string_literal: true

PgExport::Container.boot :logger do
  init do
    require 'pg_export/build_logger'
  end

  start do
    use :config

    register(:logger, memoize: true) do
      PgExport::BuildLogger.call(stream: $stdout, format: target[:config].logger_format)
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
pg_export-1.0.0.rc3 lib/pg_export/system/boot/logger.rb
pg_export-1.0.0.rc2 lib/pg_export/system/boot/logger.rb
pg_export-1.0.0.rc1 lib/pg_export/system/boot/logger.rb
pg_export-0.7.7 lib/pg_export/system/boot/logger.rb
pg_export-0.7.6 lib/pg_export/system/boot/logger.rb
pg_export-0.7.5 lib/pg_export/system/boot/logger.rb
pg_export-0.7.4 lib/pg_export/system/boot/logger.rb
pg_export-0.7.3 lib/pg_export/system/boot/logger.rb
pg_export-0.7.2 lib/pg_export/system/boot/logger.rb
pg_export-0.7.1 lib/pg_export/system/boot/logger.rb
pg_export-0.7.0 lib/pg_export/system/boot/logger.rb