Sha256: 4d68e222bf294062e930e9bc2253e0542b547e7c684284b0bf5c5ff083bc3b70

Contents?: true

Size: 250 Bytes

Versions: 4

Compression:

Stored size: 250 Bytes

Contents

require 'anyway_config'
require 'null_logger'

module AsyncCable
  class Config < Anyway::Config
    attr_config logger: NullLogger.new

    def log_level
      logger.level
    end

    def log_level=(val)
      logger.level = val
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
async_cable-0.2.3 lib/async_cable/config.rb
async_cable-0.2.2 lib/async_cable/config.rb
async_cable-0.2.1 lib/async_cable/config.rb
async_cable-0.2.0 lib/async_cable/config.rb