GitHub

LogLevel

API reference for LogLevel.

--log-level: the minimum log level for the handler, when given.

Attributes

AttributeTypeDescription
flag= Flag.choice_with_value('log-level', [('all', Level.ALL), ('trace', Level.TRACE), ('debug', Level.DEBUG), ('info', Level.INFO), ('warn', Level.WARN), ('warning', Level.WARN), ('error', Level.ERROR), ('fatal', Level.FATAL), ('none', Level.NONE)]).optional().with_description('Sets the minimum log level').with_metavar('<all|trace|debug|info|warn|warning|error|fatal|none>')