Sha256: 3bd321015aa5b7b116b0fcfe8eb2b0ed74114b8def67a6aef946ca4e75d52c8a

Contents?: true

Size: 351 Bytes

Versions: 2

Compression:

Stored size: 351 Bytes

Contents

module Eye::Controller::Options

  def set_opt_logger(logger_args)
    # do not apply logger, if in stdout state
    if !%w{stdout stderr}.include?(Eye::Logger.dev)
      Eye::Logger.link_logger(*logger_args)
    end
  end

  def set_opt_logger_level(level)
    Eye::Logger.log_level = level
  end

  def set_opt_http(opts = {})
    # stub!
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
eye-0.5.2 lib/eye/controller/options.rb
eye-0.5.1 lib/eye/controller/options.rb