Take a look at this link: https://docs.python.org/3/library/logging.html#levels
They talk about logging levels where DEBUG has a numeric value of 10, INFO has a numeric value of 20.
I am looking at a program where handler.setLevel(level=15) was used. Obviously, this is a custom logging level. How to add one is discussed in this answer: Python3 add logging level
I found the logging documentation to be inadequate in answering these questions:
- What does
15mean in context of logging? - Does it mean it's almost
DEBUG? Why not just useINFOlevel?