Module: Logging
- Included in:
- BullServerController
- Defined in:
- lib/bull/server.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.logger ⇒ Object
46 47 48 |
# File 'lib/bull/server.rb', line 46 def self.logger @logger ||= EMLogger.new(File.join(File.(File.dirname(__FILE__)), 'log', 'log.txt'), count: 10, size: 1024000, level: Logger::DEBUG) end |
.stdout_logger ⇒ Object
54 55 56 |
# File 'lib/bull/server.rb', line 54 def self.stdout_logger @stdout_logger ||= EMLogger.new(STDOUT, level: Logger::DEBUG) end |
Instance Method Details
#logger ⇒ Object
42 43 44 |
# File 'lib/bull/server.rb', line 42 def logger Logging.logger end |
#stdout_logger ⇒ Object
50 51 52 |
# File 'lib/bull/server.rb', line 50 def stdout_logger Logging.stdout_logger end |