module Guard::UI
def debug(message, options = { })
(**options)
-
reset
(Boolean
) -- whether to clean the output before
Parameters:
-
message
(String
) -- the message to show
def debug(message, options = { }) unless ENV['GUARD_ENV'] == 'test' reset_line if options[:reset] STDERR.puts color("DEBUG (#{Time.now.strftime('%T')}): ", :yellow) + message if ::Guard.options && ::Guard.options[:verbose] end end