Module: PgOnlineSchemaChange
- Defined in:
- lib/pg_online_schema_change.rb,
lib/pg_online_schema_change/cli.rb,
lib/pg_online_schema_change/query.rb,
lib/pg_online_schema_change/store.rb,
lib/pg_online_schema_change/client.rb,
lib/pg_online_schema_change/helper.rb,
lib/pg_online_schema_change/replay.rb,
lib/pg_online_schema_change/version.rb,
lib/pg_online_schema_change/orchestrate.rb
Defined Under Namespace
Modules: Helper Classes: AccessExclusiveLockNotAcquired, CLI, Client, CountBelowDelta, Error, Orchestrate, Query, Replay, Store
Constant Summary collapse
- PULL_BATCH_COUNT =
1000
- DELTA_COUNT =
20
- VERSION =
"0.9.10"
Class Method Summary collapse
Class Method Details
.logger(verbose: false) ⇒ Object
26 27 28 29 30 31 32 33 34 |
# File 'lib/pg_online_schema_change.rb', line 26 def self.logger(verbose: false) @logger ||= begin logger = Ougai::Logger.new($stdout) logger.level = verbose ? Ougai::Logger::TRACE : Ougai::Logger::INFO logger.with_fields = { version: PgOnlineSchemaChange::VERSION } logger end end |