Module: Logging

Included in:
DynamoDBMutex::Lock
Defined in:
lib/dynamodb_mutex/logging.rb

Instance Attribute Summary collapse

Instance Attribute Details

#loggerObject



6
7
8
9
10
11
12
# File 'lib/dynamodb_mutex/logging.rb', line 6

def logger
  @logger ||= lambda {
    logger = Logger.new(STDOUT, 1024*1024, 10)
    logger.level = Logger::DEBUG
    logger
  }.call
end