Class: AchClient::Logging::StdoutLogProvider

Inherits:
LogProvider
  • Object
show all
Defined in:
lib/ach_client/logging/log_providers/stdout_log_provider.rb

Overview

Logs to stdout (using puts)

Class Method Summary collapse

Class Method Details

.send_logs(body:, name:) ⇒ Object

Prints the name and then the body

Parameters:

  • body (String)

    the log body

  • name (String)

    the log name



8
9
10
11
# File 'lib/ach_client/logging/log_providers/stdout_log_provider.rb', line 8

def self.send_logs(body:, name:)
  puts name
  puts body
end