Module: RabbitWQ
- Defined in:
- lib/rabbit_wq/server_logging.rb,
lib/rabbit_wq.rb,
lib/rabbit_wq/cli.rb,
lib/rabbit_wq/work.rb,
lib/rabbit_wq/queues.rb,
lib/rabbit_wq/server.rb,
lib/rabbit_wq/worker.rb,
lib/rabbit_wq/command.rb,
lib/rabbit_wq/logging.rb,
lib/rabbit_wq/version.rb,
lib/rabbit_wq/work_logger.rb,
lib/rabbit_wq/configuration.rb,
lib/rabbit_wq/server_daemon.rb,
lib/rabbit_wq/message_handler.rb
Overview
Provides logging services for the base server.
Defined Under Namespace
Modules: Logging, Queues, ServerLogging, Work, Worker Classes: Cli, Command, Configuration, MessageHandler, Server, ServerDaemon, WorkLogger
Constant Summary collapse
- APP_ID =
'rabbit-wq'
- APP_NAME =
'Rabbit Work Queue'
- INT =
'INT'
- VERSION_COPYRIGHT =
"v#{VERSION} \u00A9#{Time.now.year}"
- VERSION =
"1.2.0"
Class Attribute Summary collapse
-
.logger ⇒ Object
Returns the value of attribute logger.
-
.work_logger ⇒ Object
Returns the value of attribute work_logger.
Class Method Summary collapse
- .configuration ⇒ Object
- .configuration=(configuration) ⇒ Object
- .configure {|configuration| ... } ⇒ Object
Class Attribute Details
.logger ⇒ Object
Returns the value of attribute logger.
36 37 38 |
# File 'lib/rabbit_wq.rb', line 36 def logger @logger end |
.work_logger ⇒ Object
Returns the value of attribute work_logger.
36 37 38 |
# File 'lib/rabbit_wq.rb', line 36 def work_logger @work_logger end |
Class Method Details
.configuration ⇒ Object
23 24 25 |
# File 'lib/rabbit_wq.rb', line 23 def self.configuration @configuration ||= Configuration.new end |
.configuration=(configuration) ⇒ Object
27 28 29 |
# File 'lib/rabbit_wq.rb', line 27 def self.configuration=( configuration ) @configuration = configuration end |
.configure {|configuration| ... } ⇒ Object
31 32 33 |
# File 'lib/rabbit_wq.rb', line 31 def self.configure yield( configuration ) if block_given? end |