def add_arguments(self, parser, defaults):
        exclusive  = parser.add_mutually_exclusive_group()
        exclusive.add_argument('-v', '--verbose',
                default=False, action='store_true',
                help='Increse logging output')
        exclusive.add_argument('-q', '--quiet',
                default=False, action='store_true',
                help='Decrease logging output')
        group = parser.add_argument_group('logging',
                'Detailed control of logging output')
        group.add_argument('--loglvl',
                default=defaults.from_name(
                    'level', section=self.section, default=None),
                choices=['DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL'],
                help='Set explicit log level')
        group.add_argument('--logfile',
                default=defaults.from_name(
                    'file', section=self.section, default=None),
                help='Output log messages to file')
        group.add_argument('--logfmt',
                default=defaults.from_name(
                    'format', section=self.section, default=None),
                help='Log message format')
Add command line arguments for configuring the logging module
dataset/ETHPy150Open aliles/begins/begin/extensions.py/Logging.add_arguments