Module: Floe

Defined in:
lib/floe.rb,
lib/floe/cli.rb,
lib/floe/runner.rb,
lib/floe/logging.rb,
lib/floe/version.rb,
lib/floe/workflow.rb,
lib/floe/null_logger.rb,
lib/floe/workflow/path.rb,
lib/floe/workflow_base.rb,
lib/floe/workflow/state.rb,
lib/floe/workflow/branch.rb,
lib/floe/container_runner.rb,
lib/floe/validation_mixin.rb,
lib/floe/workflow/catcher.rb,
lib/floe/workflow/context.rb,
lib/floe/workflow/retrier.rb,
lib/floe/workflow/states/map.rb,
lib/floe/workflow/choice_rule.rb,
lib/floe/workflow/states/fail.rb,
lib/floe/workflow/states/pass.rb,
lib/floe/workflow/states/task.rb,
lib/floe/workflow/states/wait.rb,
lib/floe/workflow/states/choice.rb,
lib/floe/container_runner/docker.rb,
lib/floe/container_runner/podman.rb,
lib/floe/workflow/choice_rule/or.rb,
lib/floe/workflow/item_processor.rb,
lib/floe/workflow/reference_path.rb,
lib/floe/workflow/states/succeed.rb,
lib/floe/workflow/choice_rule/and.rb,
lib/floe/workflow/choice_rule/not.rb,
lib/floe/workflow/states/parallel.rb,
lib/floe/workflow/choice_rule/data.rb,
lib/floe/workflow/payload_template.rb,
lib/floe/container_runner/kubernetes.rb,
lib/floe/workflow/intrinsic_function.rb,
lib/floe/workflow/error_matcher_mixin.rb,
lib/floe/container_runner/docker_mixin.rb,
lib/floe/workflow/states/retry_catch_mixin.rb,
lib/floe/workflow/intrinsic_function/parser.rb,
lib/floe/workflow/states/input_output_mixin.rb,
lib/floe/workflow/states/non_terminal_mixin.rb,
lib/floe/workflow/states/child_workflow_mixin.rb,
lib/floe/workflow/intrinsic_function/transformer.rb

Defined Under Namespace

Modules: Logging, ValidationMixin Classes: CLI, ContainerRunner, Error, ExecutionError, InvalidExecutionInput, InvalidWorkflowError, NullLogger, PathError, Runner, Workflow, WorkflowBase

Constant Summary collapse

VERSION =
"0.15.1"

Class Method Summary collapse

Class Method Details

.loggerObject



66
67
68
# File 'lib/floe.rb', line 66

def self.logger
  @logger ||= NullLogger.new
end

.logger=(logger) ⇒ Object

Set the logger to use

Examples:

require "logger"
Floe.logger = Logger.new($stdout)

Parameters:

  • logger (Logger)

    logger to use for logging actions



77
78
79
# File 'lib/floe.rb', line 77

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