Sha256: 2c1fcaa0ca58f623217832398d45d0fc2f8bf058eed01100c0d676e2e80e2564

Contents?: true

Size: 724 Bytes

Versions: 25

Compression:

Stored size: 724 Bytes

Contents

# frozen_string_literal: true
module Dynflow
  module LoggerAdapters
    class Abstract

      # @returns [#fatal, #error, #warn, #info, #debug] logger object for logging errors from action execution
      def action_logger
        raise NotImplementedError
      end

      # @returns [#fatal, #error, #warn, #info, #debug] logger object for logging Dynflow errors
      def dynflow_logger
        raise NotImplementedError
      end

      def level
        raise NotImplementedError
      end

      def level=(v)
        raise NotImplementedError
      end

      private

      def apply_formatters(base, formatters)
        formatters.reduce(base) { |base, formatter| formatter.new(base) }
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
dynflow-1.8.2 lib/dynflow/logger_adapters/abstract.rb
dynflow-1.8.1 lib/dynflow/logger_adapters/abstract.rb
dynflow-1.8.0 lib/dynflow/logger_adapters/abstract.rb
dynflow-1.7.0 lib/dynflow/logger_adapters/abstract.rb
dynflow-1.6.11 lib/dynflow/logger_adapters/abstract.rb
dynflow-1.6.10 lib/dynflow/logger_adapters/abstract.rb
dynflow-1.6.8 lib/dynflow/logger_adapters/abstract.rb
dynflow-1.6.7 lib/dynflow/logger_adapters/abstract.rb
dynflow-1.6.6 lib/dynflow/logger_adapters/abstract.rb
dynflow-1.6.5 lib/dynflow/logger_adapters/abstract.rb
dynflow-1.6.4 lib/dynflow/logger_adapters/abstract.rb
dynflow-1.6.3 lib/dynflow/logger_adapters/abstract.rb
dynflow-1.6.2 lib/dynflow/logger_adapters/abstract.rb
dynflow-1.6.1 lib/dynflow/logger_adapters/abstract.rb
dynflow-1.4.9 lib/dynflow/logger_adapters/abstract.rb
dynflow-1.4.8 lib/dynflow/logger_adapters/abstract.rb
dynflow-1.5.0 lib/dynflow/logger_adapters/abstract.rb
dynflow-1.4.7 lib/dynflow/logger_adapters/abstract.rb
dynflow-1.4.6 lib/dynflow/logger_adapters/abstract.rb
dynflow-1.4.5 lib/dynflow/logger_adapters/abstract.rb