class Upwork::Api::Logger
Logger
for debug process
Public Instance Methods
i(str, param = nil)
click to toggle source
Print information string and dump parameter if any
Arguments:
str: (String) param: (Mixed)
# File lib/upwork/api/logger.rb, line 23 def i(str, param = nil) if $DEBUG puts "> #{str}" if param puts "<< dump-begin >>" p param puts "<< dump-end >>" end end end