Sha256: 88bb727fde5a6089177ec71ec1c7779b73d5190f333f8188a9825137701cb7fc

Contents?: true

Size: 338 Bytes

Versions: 28

Compression:

Stored size: 338 Bytes

Contents

module AchClient
  class Logging
    # Logs to stdout (using puts)
    class StdoutLogProvider < LogProvider
      # Prints the name and then the body
      # @param body [String] the log body
      # @param name [String] the log name
      def self.send_logs(body:, name:)
        puts name
        puts body
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
ach_client-5.3.2 lib/ach_client/logging/log_providers/stdout_log_provider.rb
ach_client-5.3.1 lib/ach_client/logging/log_providers/stdout_log_provider.rb
ach_client-5.3.0 lib/ach_client/logging/log_providers/stdout_log_provider.rb
ach_client-5.2.0 lib/ach_client/logging/log_providers/stdout_log_provider.rb
ach_client-5.1.0 lib/ach_client/logging/log_providers/stdout_log_provider.rb
ach_client-5.0.0 lib/ach_client/logging/log_providers/stdout_log_provider.rb
ach_client-4.0.0 lib/ach_client/logging/log_providers/stdout_log_provider.rb
ach_client-3.1.0 lib/ach_client/logging/log_providers/stdout_log_provider.rb
ach_client-3.0.0 lib/ach_client/logging/log_providers/stdout_log_provider.rb
ach_client-2.1.0 lib/ach_client/logging/log_providers/stdout_log_provider.rb
ach_client-2.0.0 lib/ach_client/logging/log_providers/stdout_log_provider.rb
ach_client-1.1.0 lib/ach_client/logging/log_providers/stdout_log_provider.rb
ach_client-1.0.3 lib/ach_client/logging/log_providers/stdout_log_provider.rb
ach_client-1.0.2 lib/ach_client/logging/log_providers/stdout_log_provider.rb
ach_client-1.0.1 lib/ach_client/logging/log_providers/stdout_log_provider.rb
ach_client-1.0.0 lib/ach_client/logging/log_providers/stdout_log_provider.rb
ach_client-0.7.0 lib/ach_client/logging/log_providers/stdout_log_provider.rb
ach_client-0.6.8 lib/ach_client/logging/log_providers/stdout_log_provider.rb
ach_client-0.6.7 lib/ach_client/logging/log_providers/stdout_log_provider.rb
ach_client-0.6.6 lib/ach_client/logging/log_providers/stdout_log_provider.rb