Module: EcsDeployCli

Defined in:
lib/ecs_deploy_cli.rb,
lib/ecs_deploy_cli/cli.rb,
lib/ecs_deploy_cli/runner.rb,
lib/ecs_deploy_cli/version.rb,
lib/ecs_deploy_cli/dsl/cron.rb,
lib/ecs_deploy_cli/dsl/task.rb,
lib/ecs_deploy_cli/dsl/parser.rb,
lib/ecs_deploy_cli/dsl/cluster.rb,
lib/ecs_deploy_cli/dsl/service.rb,
lib/ecs_deploy_cli/runners/ssh.rb,
lib/ecs_deploy_cli/runners/base.rb,
lib/ecs_deploy_cli/runners/diff.rb,
lib/ecs_deploy_cli/runners/logs.rb,
lib/ecs_deploy_cli/dsl/container.rb,
lib/ecs_deploy_cli/runners/setup.rb,
lib/ecs_deploy_cli/runners/status.rb,
lib/ecs_deploy_cli/dsl/auto_options.rb,
lib/ecs_deploy_cli/runners/run_task.rb,
lib/ecs_deploy_cli/runners/validate.rb,
lib/ecs_deploy_cli/runners/update_crons.rb,
lib/ecs_deploy_cli/runners/update_services.rb

Defined Under Namespace

Modules: DSL, Runners Classes: CLI, Runner

Constant Summary collapse

VERSION =
'0.5.1'

Class Method Summary collapse

Class Method Details

.loggerObject



11
12
13
14
15
16
17
18
19
20
# File 'lib/ecs_deploy_cli.rb', line 11

def self.logger
  @logger ||= begin
    logger = Logger.new(STDOUT)
    logger.formatter = proc { |_severity, _datetime, _progname, msg|
      "#{msg}\n"
    }
    logger.level = Logger::INFO
    logger
  end
end

.logger=(value) ⇒ Object



22
23
24
# File 'lib/ecs_deploy_cli.rb', line 22

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