Module: RuoteNATS
- Defined in:
- lib/ruote-nats.rb,
lib/ruote-nats/version.rb,
lib/ruote-nats/participant.rb,
lib/ruote-nats/reply_receiver.rb,
lib/ruote-nats/shell_executor.rb,
lib/ruote-nats/command_receiver.rb
Defined Under Namespace
Classes: CommandReceiver, Participant, ReplyReceiver, ShellExecutor, TimeoutError
Constant Summary collapse
- VERSION =
"0.1.0"
Class Method Summary collapse
-
.logger ⇒ Logger
Get the logger.
-
.logger=(logger) ⇒ Object
Sets the logger.
Class Method Details
.logger ⇒ Logger
Get the logger.
18 19 20 |
# File 'lib/ruote-nats.rb', line 18 def logger @logger ||= Logger.new(STDOUT).tap { |log| log.level = Logger::INFO } end |
.logger=(logger) ⇒ Object
Sets the logger.
25 26 27 |
# File 'lib/ruote-nats.rb', line 25 def logger=(logger) @logger = logger end |