Method: Ufo::Logger#stdout

Defined in:
lib/ufo/logger.rb

#stdout(msg, newline: true) ⇒ Object

Used to allow output to always go to stdout



21
22
23
24
25
26
27
# File 'lib/ufo/logger.rb', line 21

def stdout(msg, newline: true)
  if newline
    puts msg
  else
    print msg
  end
end