Module: Kcl

Defined in:
lib/kcl.rb,
lib/kcl/version.rb

Defined Under Namespace

Modules: Checkpoints, Errors, Proxies, Types, Workers Classes: Checkpointer, Config, Logger, RecordProcessor, RecordProcessorFactory, Worker

Constant Summary collapse

VERSION =
'1.0.0'.freeze

Class Method Summary collapse

Class Method Details

.configObject



25
26
27
# File 'lib/kcl.rb', line 25

def self.config
  @_config ||= Kcl::Config.new
end

.configure {|config| ... } ⇒ Object

Yields:



21
22
23
# File 'lib/kcl.rb', line 21

def self.configure
  yield config
end

.loggerObject



29
30
31
# File 'lib/kcl.rb', line 29

def self.logger
  @_logger ||= (config.logger || Kcl::Logger.new($stdout))
end