Class: BucketStore::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/bucket_store/configuration.rb

Instance Attribute Summary collapse

Instance Attribute Details

#loggerObject

Specifies a custom logger.

Note that BucketStore uses structured logging, any custom logger passed must also support it.

Examples:

Use stderr as main output device

config.logger = Logger.new($stderr)


17
18
19
# File 'lib/bucket_store/configuration.rb', line 17

def logger
  @logger ||= Logger.new($stdout)
end