Initialize the log level option with the relevant choices.
(self)
| 377 | """Log level option.""" |
| 378 | |
| 379 | def __init__(self): |
| 380 | """Initialize the log level option with the relevant choices.""" |
| 381 | super().__init__(('DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL', 'FATAL')) |
| 382 | |
| 383 | def convert(self, value, param, ctx): |
| 384 | if isinstance(value, numbers.Integral): |