Method: Yt::Models::Configuration#debugging?

Defined in:
lib/yt/models/configuration.rb

#debugging?Boolean

Returns whether the logging output is verbose. Useful when debugging (e.g., to print the curl of failing requests).

Returns:

  • (Boolean)

    whether the logging output is verbose. Useful when debugging (e.g., to print the curl of failing requests).



65
66
67
# File 'lib/yt/models/configuration.rb', line 65

def debugging?
  log_level.to_s.in? %w(devel debug)
end