remarks
remarks copied to clipboard
Add debug logging
Add debug logging.
When -d/--debug
is set, logging is set to log debug messages, otherwise it logs warn level messages.
@lucasrla for review: I picked the logging levels to what seemed appropriate, but please do change it as appropriate.