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
.config ⇒ Object
25
26
27
|
# File 'lib/kcl.rb', line 25
def self.config
@_config ||= Kcl::Config.new
end
|
21
22
23
|
# File 'lib/kcl.rb', line 21
def self.configure
yield config
end
|
.logger ⇒ Object
29
30
31
|
# File 'lib/kcl.rb', line 29
def self.logger
@_logger ||= (config.logger || Kcl::Logger.new($stdout))
end
|