ID EN
Logging

getLevelName

Python 3.11

Returns the textual or numeric representation of logging level level.

Syntax

PYTHON
logging.getLevelName(level)

See Also

CRITICAL ERROR WARNING INFO DEBUG addLevelName() LogRecord attributes