Module: Griffin

Defined in:
lib/griffin.rb,
lib/griffin/engine.rb,
lib/griffin/logger.rb,
lib/griffin/server.rb,
lib/griffin/version.rb,
lib/griffin/thread_pool.rb,
lib/griffin/engine/server.rb,
lib/griffin/engine/single.rb,
lib/griffin/engine/worker.rb,
lib/griffin/server_config_builder.rb

Defined Under Namespace

Modules: Engine Classes: Logger, Server, ServerConfigBuilder, ThreadPool

Constant Summary collapse

VERSION =
'0.2.2'

Class Method Summary collapse

Class Method Details

.loggerObject


10
11
12
# File 'lib/griffin.rb', line 10

def self.logger
  @logger ||= Logger.new(STDOUT, level: :info)
end

.logger=(logger) ⇒ Object


14
15
16
# File 'lib/griffin.rb', line 14

def self.logger=(logger)
  @logger = logger
end