def add_logging_options_to_parser(parser):
    """Add logging options to the parser.

    :param argparse.ArgumentParser parser: The parser to add the args to

    """
    group = parser.add_argument_group(title='Logging Options')
    group.add_argument('-L', '--log-file', action='store', help=
        'Log to the specified filename. If not specified, log output is sent to STDOUT'
        )
    group.add_argument('-v', '--verbose', action='store_true', help=
        'Increase output verbosity')
    group.add_argument('--debug', action='store_true', help=
        'Extra verbose debug logging')
