# File lib/hammer_cli_import/importtools.rb, line 232 def add_logging_options # Logging options # quiet = go to logfile only # verbose = all output goes to STDOUT as well as log # debug = enable debug-output # default = no debug, only PROGRESS-and-above to STDOUT option ['--quiet'], :flag, 'Be silent - no output to STDOUT', :default => false option ['--debug'], :flag, 'Turn on debugging-information', :default => false option ['--verbose'], :flag, 'Be noisy - everything goes to STDOUT and to a logfile', :default => false option ['--logfile'], 'LOGFILE', 'Where output is logged to', :default => File.expand_path('~/import.log') end